When to use Multiple Inheritance?

Answer Posted / nishikant sahu

When i want wrap the properties of more than one class into
a single entity(class) ,then i want to use MI,but strongly
recommend to avoid MI, if this scenario occur then you
design having some problem, and it cast a lots of issue and
overhead.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data type in c++?

553


Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)

1486


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

624


Write a program which employs Recursion

724


To what does “event-driven” refer?

606






What is void pointer in c++ with example?

593


What are activex and ole?

538


How would you differentiate between a pre and post increment operators while overloading?

650


What does I ++ mean in c++?

581


Is it possible for a member function to delete the pointer, named this?

609


Why do we use using namespace std in c++?

597


Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .

678


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

581


What is general format for a prototype?

595


What is encapsulation in c++ with example?

582