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 stringwriter c#?
What exactly is serverless?
How does substring work in c#?
What is the difference between C# 3.5 and C# 4.0?
Explain the use of virtual, sealed, override, and abstract method?
Why do we overload constructors?
What is int32?
If you define a user defined data type by using the struct keyword, is it a value type or reference type?
How to create events for a control? What is custom events? How to create it?
What is c-sharp (c#)?
what is a destructor?
List down the reason behind the usage of c# language.
What are the principles of delegation?
Can constructor be private c#?
Can you declare a field readonly?