C++ Multiple Inheritance

C++ Multiple Inheritance


C++ Multiple Inheritance
In Multiple Inheritances, a drived class inherits from multiple base classes. It has It has both the base classes.
A derived class can have more than one base class
Each base class can have its own access specification in derived class's definition:
Multiple Inheritance in C++ Programming Language | C++ Multiple Inheritance  | Learn C++ Online
The Syntax of Multiple Inheritance is as follows:
Example-Program to shows that C++ Multiple Inheritance is as follows:
Output