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
How do I move from one form to another in c#?
What is the difference between array and list in c#?
How do I stop my console from closing in c#?
What is oledb in c#?
Can partial class be inherited?
How do you prevent a class from being inherited in c#?
Which is the best language for desktop application?
What is int64 in c#?
What is lazy loading entity framework?
What is c# best for?
What is better C# or VB.NET?
How do you name a variable in c#?
Can you inherit multiple classes in c#?
What is object array in c#?
What are the advantages of using partial classes?