Under what conditions is multiple inheritance not recommended?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c++ is faster than java?

821


what are the iterator and generic algorithms.

1722


What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)

796


What is microsoft c++ redistributable?

787


What is a class definition?

806


Why is null pointer used?

891


What are the advantages of early binding?

829


What are the advantages of pointers?

806


Is dev c++ free?

795


What is using namespace std in cpp?

759


What are the data types in c++?

702


Why can templates only be implemented in the header file?

869


Is ca high or low level language?

813


How many types of modularization are there in c++?

775


How java is different from c and c++?

928