What do you understand by visibility modes in class derivation? What are these modes.
Answers
Answered by
2
Answer:
The visibility modes basically control the access specifier to be for inheritable members of base class, in the derived class. Public visibility mode: The public derivation means that the derived class can access the public and protected members of the base class but not the private members of the base class
Explanation:
mark as brainliest
Similar questions