Multiple Choice
Which of the following statements about inheritance is true if memberAccessSpecifier is protected?
A) The private members of the base class become protected members of the derived class.
B) The derived class can directly access any member of the base class.
C) The public members of the base class become protected members of the derived class.
D) The protected members of the base class become private members of the derived class.
Correct Answer:

Verified
Correct Answer:
Verified
Q7: What is the output of the
Q8: If the derived class classD overrides a
Q9: Suppose that bClass is a class.Which of
Q10: The new classes that we create from
Q11: _ is a "has-a" relationship.<br>A) Inheritance<br>B) Encapsulation<br>C)
Q13: The _ members of an object form
Q14: C++ provides _ functions as a means
Q15: In OOD, a program is a collection
Q16: A derived class cannot directly access public
Q17: Existing classes, from which you create new