1 Answers
Best Answer
Protected Inheritance
Specified between two classes as:
- class chetan : protected shidling
Base class Private members
- manipulate through inherited member functions.
- not accessible directly.
- still inherited
Base class Protected members
- retain the protected feature in the derived class
Base class Public members
- becomes protected in the derived class
Friend function not inherited.