What is multiple inheritance? Give Example
Answer Posted / palsaniya sadikhasan, meta.
a class is derived from an existing class in multiple level.
e.g.
class abc
{
int a;
public:
void getdata();
};
class xyz public:abc
{
int b;
public:
void getinput();
}
class pqr public:xyz
{
int c;
public:
void show();
}
Is This Answer Correct ? | 9 Yes | 22 No |
Post New Answer View All Answers
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is coupling in oops?
What are main features of oop?
How is polymorphism achieved?
Give two or more real cenario of virtual function and vertual object
What is difference between pop and oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What do you mean by variable?
What are the 3 pillars of oop?
What is the types of inheritance?
How to call a non virtual function in the derived class by using base class pointer
Where You Can Use Interface in your Project
What exactly is polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
How is class defined?