When to use Multiple Inheritance?
Answers were Sorted based on User's Feedback
Answer / karthick
Multiple inheritance means the derived class inherits from
two or more base classes.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / 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 |
Answer / 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 |
Answer / dasora
when do you like inherit from more than two class
it is called multiple inheritance
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / 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 |
Answer / meenu kathuria
Multiple Inheritance:
to acquire properties of two or more classes in a single class.
| Is This Answer Correct ? | 0 Yes | 2 No |
Can a built-in function be recursive?
what is C++ exceptional handling?
What are the advantages of prototyping?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is protected inheritance?
write a c++ program that gives output 4 3 4 2 3 4 1 2 3 4 using looping statement
When do we run a shell in the unix system? How will you tell which shell you are running?
What is the difference between a copy constructor and an overloaded assignment operator?
4 Answers Belzabar, Citrix, Microsoft, Wipro,
What is constructor c++?
Can a program run without main?
What is the difference between struct and class?
If all is successful, what should main return a) 0 b) 1 c) void