Computer Science, asked by jaiprakash99, 8 months ago

What are the Access control and inheritance ?

Answers

Answered by sunil2013sonkar
1

Answer:

please follow me

Explanation:

Access Control and Inheritance

A derived class can access all the non-private members of its base class. Thus base-class members that should not be accessible to the member functions of derived classes should be declared private in the base class. ... The friend functions of the base class.

Similar questions