described multiple inheritancevirtual inheritance


Described multiple inheritance(virtual inheritance)? And explain its advantages and disadvantages?

A: It is the procedure in which a child can be derived from more than one parent class. The benefit of multiple inheritances is that it let a class to inherit the functionality of more than one base class therefore allowing for modeling of difficult relationships.

The drawback of multiple inheritance is that it can lead to lots of confusion(ambiguity) while two base classes implement a method by the same name.

 

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: described multiple inheritancevirtual inheritance
Reference No:- TGS0211572

Expected delivery within 24 Hours