Home »
MCQs »
OOPs MCQs
If the base class is inherited privately then the public members of the base class become protected members of the derived class and the protected members of the base class become public members of the derived class? - Is this statement True or False?
64. If the base class is inherited privately then the public members of the base class become protected members of the derived class and the protected members of the base class become public members of the derived class?
Is this statement True or False?
- True
- False
Answer: B) False
Explanation:
If the base class is inherited privately then the public members of the base class become private members of the derived class and the protected members of the base class become private members of the derived class.