Multiple Choice
For a base class to give access to a member to its derived class and still prevent its direct access outside the class, you must declare that member under the member access specifier ____.
A) private
B) protected
C) public
D) shared
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: By using templates, you can write a
Q7: The arguments to the constructor of a
Q8: Passing parameters to a function has an
Q9: A class cannot have a constructor with
Q10: A friend function is a member function
Q12: Private members of a base class can
Q13: In _, one or more members of
Q14: A(n) _ typically serves to initialize the
Q15: When you declare a derived class object,
Q16: We need to ensure that the private