Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
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.
