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

explain Garbage collector’s functionality on unmanaged code

606


What are functions c#?

646


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.

2014


Where do we set the min and max pool size for connection pooling?

605


What are the different types of delegates?

569






What are the characteristics of c#?

569


What is the difference between null and string empty in c#?

537


What are methods in C#?

637


When a switch is said to be congested?

660


What is difference between the "throw" and "throw ex" in .net?

558


Explain about Serialize and MarshalByRef?

624


What is jagged array in c#?

628


Can dictionary have duplicate keys c#?

568


Illustrate the differences between the system.array.copyto() and system.array.clone()?

589


What is the implicit name of the parameter that gets passed into the set method/property of a class?

583