Programming Languages C++ Objective
Mar 22, 2013

Which of the statements is true in a protected derivation of a derived class from a base class? 

Choose the correct answer:
A) Private members of the base class become protected members of the derived class
B) Protected members of the base class become public members of the derived class
C) Public members of the base class become protected members of the derived class
D) Protected derivation does not affect private and protected members of the derived class.
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback