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
Is a dll an assembly?
Is it possible to inherit multiple interfaces?
How do you concatenate in c#?
What is Wrapper class in dot net?
What does console readkey do in c#?
Can we have multiple constructors in a class c#?
What is cls, cts and clr in net?
Can a dictionary have the same key?
How to get the sum of last 3 items in a list using lambda expressions?
What is scope c#?
Is and as keyword in c# net?
Define constructors
Are c# strings immutable?
What is data type in c# with example?
What is sqldatareader c#?