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

What is a method signature c#?

515


Which is the best language for desktop application?

468


What is a generic c#?

482


What Happens In Memory When You Box And Unbox A Value-type?

468


Explain the Different types of configuration files in .net?

569






In a site to turn off cookies for one page which method is followed?

505


Which constructor is called first in c#?

513


What does the parsefloat function do?

482


What is the purpose of the integer parse method the decimal parse method?

518


Explain deadlock?

513


What is an escape sequence in c#?

506


What are custom exceptions in C#?

546


Explain the different types of delegates used in c#.

506


What is nullable types in c#?

496


How big is a float?

498