Advertisements
Advertisements
Question
Which type of data is not accessed in a derived class?
Options
Public
Private
Protected
None
MCQ
Solution
Private
Explanation:
Private members of derived classes cannot be accessed directly. These members are only accessible within the base class itself.
shaalaa.com
Is there an error in this question or solution?