Difference between multi-level and multiple inheritance?
Answer Posted / harish chandra sahu
Multiple Inheritance:In multiple inheritance there is only
one super(Base) class and can has many child class.And java
does not support multiple class.Practical Ex is one child
cannot has two mother.
A
^
/ \
b c
Multilevel Inheritance: There are one super class and many
subclasses, and the subclass must be a superclass if it can
inherited by the next subclass and so on.Java support it.
A
|
B
|
C
|
D
Is This Answer Correct ? | 7 Yes | 24 No |
Post New Answer View All Answers
in object oriented programming, how would you describe encapsulation?
What does exclamation mark mean c#?
what are the differences between a class and structure
What is difference between method overriding and method overloading?
If the original method is not static you can declare an override method to be static or not?
When is a class declared as a class abstract?
What is Covariance and contravariance in C#?
Differentiate between dataset and datareader?
What is the use of tuple in c#?
Is type nullable c#?
What is difference between iqueryable and ienumerable in c#?
What is the difference between and xml documentation tag?
Is multiple inheritance possible in c#?
Why do we use hashtable in c#?
Is c# or c++ better for games?