What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them.
Answers were Sorted based on User's Feedback
Answer / ramya
multiple inheritance is the class derived from more than
one base class & where as coming to multilevel inheritance
it derives one class to one base class via intermediate
base class
| Is This Answer Correct ? | 39 Yes | 13 No |
Answer / ravinder kumar
Multiple: ClassA--extends-->ClassB, ClassA--extends--
>ClassC, ClassA--extends-->ClassD class A can Inherit all
the classes and can have access on all calss' public
properties and functions.
MultiLevel: ClassA-->ClassB-->ClassC-->ClassD and ClassD
will have the accesss on all the properties of its upper
level class like C,B and A
| Is This Answer Correct ? | 30 Yes | 14 No |
Difference between realloc() and free?
What is polymorphism used for?
What is an example of genetic polymorphism?
why reinterpret cast is considered dangerous?
How can we use the preprocessor #if and #elseif.
What is abstraction in oops?
What is an orthogonal base class?
How to deploy web appliction in web logic ?
Can enum be null?
What is the point of oop?
Can we have a private virtual method ?
write a C++ program for booking using constructor and destructor.