C++ Multilevel Inheritance

Multilevel inheritance is such an inheritance in which a derived class is created from another derived class.


C++ Multilevel Inheritance Example

In this example, a base class Student is inherited in a derive class Marks, and the derived class Marks is further inherited in another derive class Total.


Pin It on Pinterest

Share This