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?

  1. True
  2. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.