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
Is html an oop?
How to improve object oriented design skills?
Explain the advantages of inheritance.
What is the importance of oop?
What are the data types in oop?
What is a class oop?
What language is oop?
What is the difference between static polymorphism and dynamic polymorphism?
What do you mean by abstraction?
Which type does string inherit from?
Why do we use oop?
program for insertion ,deletion,sorting in double link list
Why do we use polymorphism in oops?
What is the types of inheritance?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)