My 2 Cents Multiple Inheritance In C++

Swati Mishra

Content Writer
C++ supports the multiple inheritance. Multiple inheritance is the implementation of the Subclass inheriting the properties from the multiple base class. If we take the example of multiple inheritance in real life then the children is inheriting the properties of their parents. If the Derived class inheriting the properties from both base class then syntax for declaring class derived is following.


Class derived: public base 1, public base 2
// body of class