illustrate how to make a private member inheritable
Answers
Answered by
0
Answer:
The private members of a class can be inherited but cannot be accessed directly by its derived classes. They can be accessed using public or protected methods of the base class. The inheritance mode specifies how the protected and public data members are accessible by the derived classes.
Explanation:
i hope this helps you please brainlist me
Similar questions