What is multiple inheritance? Give Example
Answer Posted / palsaniya sadikhasan, meta.
Sorry! Following example is the Multilevel inheritance.
which Post by me.
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 ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does and I oop mean in text?
How Do you Code Composition and Aggregation in C++ ?
What is encapsulation in simple terms?
What is class encapsulation?
Explain the advantages of inheritance.
is there any choice in opting subjects like 4 out of 7
What is this pointer in oop?
What is polymorphism what is it for and how is it used?
What polymorphism means?
Why is abstraction needed?
What is cohesion in oop?
#include
What are the 3 principles of oop?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What are the three main types of variables?