Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

My 2 Cents Multiple Inheritance In C++

Discussion in 'General Programming Discussions' started by Swati Mishra, Mar 15, 2016.

  1. Swati Mishra

    Yellow Belt

    Dec 28, 2015
    +105 / -0
    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

Share This Page