Private Inheritance
The Public and protected members of Base class become private members of the derived class.
The Public and protected members of Base class become private members of the derived class.
Public Inheritance
All the public members and protected members are inherited as public and protected respectively.
All the public members and protected members are inherited as public and protected respectively.
Protected Inheritance
Public and Protected members are derived as protected members.
Public and Protected members are derived as protected members.

0 Comments:
Post a Comment