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

What is meaning of type safety in c#?

547


How many constructor can a class have?

550


What is multiple interface in c#?

606


What is the importance of closing an ado.net application?

550


What is the main purpose of xml?

579






Why generics are used in c#?

584


What is an array of arrays called?

511


What is dataadapter c#?

555


What is native image generator (ngen.exe)?

777


What is the use of GC.KeepAlive Method?

765


Can a child class call the constructor of a base class?

627


What is inumerable?

642


What is executereader in c#?

558


Does unity use c++ or c#?

568


List the different stages of a thread?

575