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 |
define oops concept with example
what is overloading and overriding?
Differences between inline functions and non-inline functions?
What is encapsulation c#?
What is basic concept of oop?
which is platform independent device used in computers
How do you make derived class as an abstract class?
Why do we use oops?
Why do we use class?
What is the difference between the C & C++?
What is abstraction oop?
What is public, protected, private?