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


Please Help Members By Posting Answers For Below Questions

in object oriented programming, how would you describe encapsulation?

817


What does exclamation mark mean c#?

771


what are the differences between a class and structure

785


What is difference between method overriding and method overloading?

759


If the original method is not static you can declare an override method to be static or not?

720


When is a class declared as a class abstract?

775


What is Covariance and contravariance in C#?

784


Differentiate between dataset and datareader?

749


What is the use of tuple in c#?

720


Is type nullable c#?

708


What is difference between iqueryable and ienumerable in c#?

654


What is the difference between and xml documentation tag?

780


Is multiple inheritance possible in c#?

792


Why do we use hashtable in c#?

696


Is c# or c++ better for games?

661