Multiple Inheritance

tutorial and example
tutorial and example

C++ Multiple Inheritance

Multiple inheritance is such inheritance in which a derived class inherits properties of more than one base class.

C++ Multiple Inheritance Example

In this example two base classes Square and Show are inherited in one derived class Area.

Output: