Multilevel Inheritance

In this type of inheritance the derived class inherits from a class, which in turn inherits from some other class. The Super class for one, is sub class for the other. Example: In multilevel inheritance, level of inheritance is not fixed to only two or three levels. It is depends on the level of programming to inherit data from the base class. Here, class B is intermediate class. B is base class for class C and derived class for class A.

Read More