≡ Menu

C++ Private Inheritance Example

In C++, the most common type of inheritance is public. The public type of inheritance is used in order to broaden the parent class with some functionalities or some data members. This type of public inheritance is sometimes called the ” is “, as the parent class and the child class are of the same [...]