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


Please Help Members By Posting Answers For Below Questions

What is solid in oops?

615


What does no cap mean?

592


What does I oop mean?

618


What is interface in oop?

664


What are classes oop?

598






Can you name some types of inheritance?

641


Why is static class not inherited?

601


Plese get me a perfect C++ program for railway/airway reservation with all details.

3431


what type of questions

1697


What is abstraction in oops?

589


What does oop mean in snapchat?

688


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1944


Why is encapsulation used?

577


What is abstraction encapsulation?

659


Why is polymorphism important in oop?

637