When to use Multiple Inheritance?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private public protected in c++?

627


What are iterators in c++?

680


What is format for defining a structure?

681


What is bubble sort c++?

674


What is new in c++?

670






What does it mean to declare a member function as static?

688


When there is a global variable and local variable with the same name, how will you access the global variable?

726


What is abstraction with real time example?

729


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

696


What is c++ manipulator?

636


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

750


Explain stack unwinding.

728


What data encapsulation is in c++?

671


How does the copy constructor differ from the assignment operator (=)?

715


Define a nested class. Explain how it can be useful.

735