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 a multimap c++?

0 Answers  


What is the difference between an external iterator and an internal iterator?

0 Answers  


Define virtual constructor.

0 Answers  


How to demonstrate the use of a variable?

0 Answers  


You want to link a c++ program to c functions. How would you do it?

0 Answers  






What is a forward referencing and when should it be used?

0 Answers  


Does c++ cost money?

0 Answers  


What is object slicing and how can we prevent it?

2 Answers   Tech Mahindra,


What is main function in c++ with example?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


Is C++ case sensitive a) False b) Depends on implementation c) True

0 Answers  


What is the best way to take screenshots of a window with c++ in windows?

0 Answers  


Categories