Sail E0 Webinar
Question

Which of the following statements is correct when a class is inherited privately?


Options:
A .  Public members of the base class become protected members of derived class.
B .  Public members of the base class become private members of derived class.
C .  Private members of the base class become private members of derived class.
D .  Public members of the base class become public members of derived class.
Answer: Option B



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers