Difference between multi-level and multiple inheritance?

Answer Posted / anand

Multiple Inheritance:
One derived class can have more than one base class

Multilevel Inheritance:
One child class is derived from a base class which was derived from another base class.

Ex:
Multiple:

Class A Class B Class C
\ | /
\ | /
\ | /
-----------------------------
|
|
Class D [Derived class having mor e than one base class]


Multilevel:

Class A
|
|
|
Class B
|
|
|
Class C

Is This Answer Correct ?    91 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c# is called c sharp?

648


What is writeline?

658


What is private constructor c#?

680


What is data annotation in c#?

687


Is hashset ordered c#?

671


What do multicast delegates mean?

716


What is different about switch statements in c#?

648


what happens if you inherit multiple interfaces and they have conflicting method names?

668


What is parsing?

695


How many types of constructors are there in c#?

643


What is exe file in c#?

653


Describe the process of “exception handling implementation” in c#?

712


What is the difference between returning iqueryable vs ienumerable?

685


how to print invert pyramid in c#

1491


Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

1664