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
What is meaning of type safety in c#?
How many constructor can a class have?
What is multiple interface in c#?
What is the importance of closing an ado.net application?
What is the main purpose of xml?
Why generics are used in c#?
What is an array of arrays called?
What is dataadapter c#?
What is native image generator (ngen.exe)?
What is the use of GC.KeepAlive Method?
Can a child class call the constructor of a base class?
What is inumerable?
What is executereader in c#?
Does unity use c++ or c#?
List the different stages of a thread?