When to use Multiple Inheritance?

Answers were Sorted based on User's Feedback



When to use Multiple Inheritance?..

Answer / karthick

Multiple inheritance means the derived class inherits from
two or more base classes.

Is This Answer Correct ?    4 Yes 1 No

When to use Multiple Inheritance?..

Answer / nishikant sahu

When i want wrap the properties of more than one class into
a single entity(class) ,then i want to use MI,but strongly
recommend to avoid MI, if this scenario occur then you
design having some problem, and it cast a lots of issue and
overhead.

Is This Answer Correct ?    2 Yes 0 No

When to use Multiple Inheritance?..

Answer / divya

inheritance is a method which means objects of one class
get the properties of objects of another class. in this we
have 5 types of inheritance
multiple inheritance means deriving a class from two or
more base classes

Is This Answer Correct ?    1 Yes 1 No

When to use Multiple Inheritance?..

Answer / dasora

when do you like inherit from more than two class
it is called multiple inheritance

Is This Answer Correct ?    0 Yes 1 No

When to use Multiple Inheritance?..

Answer / dee

Multiplae inheritance is used when we want to reuse the
code from 2 ro 3 classes.

Is This Answer Correct ?    0 Yes 2 No

When to use Multiple Inheritance?..

Answer / meenu kathuria

Multiple Inheritance:
to acquire properties of two or more classes in a single class.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C++ General Interview Questions

Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  


Why cstdlib is used in c++?

0 Answers  


why c++ is not called strictly d super set of c?

3 Answers   Satyam,


How is data hiding achieved in c++?

0 Answers  


What does asterisk mean in c++?

0 Answers  






Describe Trees using C++ with an example.

0 Answers  


What is static function? Explain with an example

0 Answers  


What are the differences between public, private, and protected access?

12 Answers   IBM, Oracle, Wipro,


What is the difference between new() and malloc()?

0 Answers  


How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.

15 Answers   Satyam,


How would you find out if a linked-list is a cycle or not?

0 Answers  


Describe run-time type identification?

1 Answers  


Categories