Under what conditions is multiple inheritance not recommended?



Under what conditions is multiple inheritance not recommended?..

Answer / ackmed

If you derive from more than one base classes with the same
parent, then that parent should be a virtual base class.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is c++ w3school?

0 Answers  


Define Virtual function in C++.

0 Answers   iNautix,


How can you find the nodes with repetetive data in a linked list?

1 Answers   Lucent,


Why is standard template library used?

0 Answers  


What is stoi in c++?

0 Answers  






Give 2 examples of a code optimization?

4 Answers  


How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?

0 Answers  


Explain the isa and hasa class relationships. How would you implement each?

0 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


What is runtime errors c++?

0 Answers  


What is meant by a delegate?

0 Answers  


what is data encapsulation in C++?

0 Answers  


Categories