Multiple Inheritance




This video tutorial explains the multiple inheritance in c++.
You are gonna learn how to inherit from more than one base class, how the multiple inheritance works in detail with example.

source code for this tutorial

#include 
#include 

using namespace std;

class Father{
public:
    int height;
    void askFather(){
    cout <<"am your father ask me what u want"<
                    
Child anil;
anil.setColorandHeight("white",6);
anil.display();
anil.askFather();
anil.askMother();
return 0;
}

 
Back To Top