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 do you mean by abstraction?
What is the main purpose of inheritance law?
What is the difference between a mixin and inheritance?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is solid in oops?
What is coupling in oops?
What is polymorphism and why is it important?
Advantage and disadvantage of routing in telecom sector
What is cohesion in oop?
class type to basic type conversion
How long to learn object oriented programming?
what is graphics
Who invented oop?
2. Give the different notations for the class.\
What is this pointer in oop?