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
Can we create multiple constructors?
Explain the difference between .net and c#?
Why do we use public static void main in c#?
What is callback method in c#?
Can non-default constructors be used with single call sao?
Explain polymorphism in c# with a simple example?
Can we inherit private class in c#?
What is verbatim string?
What is a derived class in c#?
What is string class in c#?
What is datetime minvalue in c#?
When should I throw an exception?
What type of data type conversion happens when the compiler encounters the following code?
Can we override constructor in c#?
Explain the difference between directcast and ctype.