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 |
Explain the difference between 'operator new' and the 'new' operator?
Explain queue. How it can be implemented?
Which c++ operator cannot overload?
What is switch case in c++ syntax?
advantages and disadvantages of using Borland C++ / version 5.
Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is design pattern?
Explain binary search.
What are the effects after calling the delete this operator ?
Explain abstraction.
What is c++ map?