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 |
What are two types of polymorphism?
Explain polymorphism? What r the types of polymorphism? pls give examples?
What is abstraction oop?
Why it is called runtime polymorphism?
How do you define a class in oop?
what is object slicing?
What is the difference between Home and $Home?
How do you make derived class as an abstract class?
Why do we need polymorphism in c#?
How do you use inheritance in unity?
what is the difference between <stdio.h>and "stdio.h"?
What is the full form of oops?