Inheritance in C++

Share this on :

The Video all about the types Inheritance in C++. There are five types of Inheritance provided by C++. They are: – Single Inheritance, Multilevel Inheritance, Multiple Inheritance, Hierarchical Inheritance and Hybrid Inheritance. In single inheritance there is only one base class and one derived class. In multilevel inheritance a class can be derived from derived class also. In multiple inheritances a class can inherit the features of two base classes. In hierarchical inheritance a base class can use by many sub classes. While the hybrid inheritance is the mixture of two or more inheritances.

Share this on :