Sponsor Area

Concept Of Object Oriented Programming

Question
CBSEENCO12011632

What is the difference between Multilevel and Multiple inheritance? Give suitable examples to illustrate both.

Solution
Multiple Inheritance Multilevel inheritance
“Multiple Inheritance” refers to the concept of one class extending (Or inherits) more than one base class. Multilevel inheritance refers, where one can inherit from a derived class, thereby making this derived class the base class for the new class. As you can see in below flow diagram Zis subclass or child class of Y and B is a child class of X.