1.

What Is Multiple Inheritance ? What Are It’s Advantages And Disadvantages ?

Answer»

Multiple Inheritance is the process WHEREBY a sub-class can be DERIVED from more than ONE super class. The advantage of multiple inheritance is that it allows a class to inherit the functionality of more than one base class thus ALLOWING for modeling of complex relationships.

The DISADVANTAGE of multiple inheritance is that it can lead to a lot of confusion when two base classes implement a method with the same name.

Multiple Inheritance is the process whereby a sub-class can be derived from more than one super class. The advantage of multiple inheritance is that it allows a class to inherit the functionality of more than one base class thus allowing for modeling of complex relationships.

The disadvantage of multiple inheritance is that it can lead to a lot of confusion when two base classes implement a method with the same name.



Discussion

No Comment Found