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
What is the diamond problem in inheritance?
What are the benefits of oop?
How to use CMutex, CSemaphore in VC++ MFC
What is abstraction example?
What is variable example?
to find out the minimum of two integer number of two different classes using friend function
What does it mean when someone says I oop?
What is the oops and benefits of oops programming?
Why it is called runtime polymorphism?
what are the ways in which a constructors can be called?
What are oops functions?
Why multiple inheritance is not possible?
What is object-oriented programming? Webopedia definition
Which is not an object oriented programming language?
What is inheritance in simple words?