What is multiple inheritance? Give Example
Answer Posted / sadikhasan,meta
Multiple inheritance means duplicate copy of base class is
derive into child class. which explain by following example.
class A
{
}
class B: public A
{
}
class C:public A
{
}
class D:public B,public C //duplicate data
{
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What polymorphism means?
What is abstraction in oop?
What causes polymorphism?
Can bst contain duplicates?
What is encapsulation in oop?
What are the benefits of oop?
What is solid in oops?
What are the 3 pillars of oop?
What are the types of abstraction?
Why is abstraction used?
What is overriding in oops?
What are properties in oop?
Why polymorphism is used in oops?
What are the three parts of a simple empty class?
How does polymorphism work?