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 the use of c++ programming language in real life?

761


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

858


Explain the pure virtual functions?

831


Explain the use of virtual destructor?

802


Which function should be used to free the memory allocated by calloc()?

773


What is a manipulative person?

736


What return value must conversion operators have in their declaration?

807


How do I use arrays in c++?

757


What are shallow and deep copy?

828


Define anonymous class.

801


Explain explicit container.

837


When we use Abstract Class and when we use Interface?where we will implement in real time?

1892


How one would use switch in a program?

812


Can we specify variable field width in a scanf() format string? If possible how?

888


What are protected members in c++?

850