When to use Multiple Inheritance?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain virtual class and friend class.

595


When should we use multiple inheritance?

613


What is buffering in c++?

580


What is a dll entry point?

560


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

632






Explain the concept of dynamic allocation of memory?

617


What is data binding in c++?

504


What will the line of code below print out and why?

322


What is c++ stringstream?

601


What is the difference between set and map in c++?

604


Define the process of handling in case of destructor failure?

575


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

546


Where the memory to the static variables is allocated?

558


What is namespace std; and what is consists of?

662


How can you say that a template is better than a base class?

580