1 Answers
Private Inheritance
Specified between two classes as:
- class electrical : private electronics
- class electrical : electronics
Base class Private members
- manipulate through inherited member functions
- not accessible directly
- still inherited
Base class Protected and Public members
- becomes private in the derived class
Friend functions not inherited