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

Is enum a class?

599


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?

1933


What does and I oop mean?

610


What is variable example?

591


What is the real time example of encapsulation?

587






can we make game by using c

3409


Why is destructor used?

575


What is the difference between inheritance and polymorphism?

581


Is react oop?

605


Why polymorphism is used in oops?

575


State what is encapsulation and friend function?

689


What is the oops and benefits of oops programming?

547


What is class and object in oops?

605


What is oops and why we use oops?

569


Get me an image implementation program.

1554