What are the Access control and inheritance ?
Answers
Answered by
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
Chemistry,
4 months ago
Math,
8 months ago
Social Sciences,
8 months ago
Hindi,
1 year ago
Science,
1 year ago