Difference between multi-level and multiple inheritance?

Answers were Sorted based on User's Feedback



Difference between multi-level and multiple inheritance?..

Answer / kautilya

Multiple Inheritence : while a class has inheritted more
than one classes then it is called multiple inheritance.

Multi-Level Inheritence : where a class can inherit only
one class. while a class has inherited a class and it is
being inherited by other class, this hierarchy is being
called as Multi-Level Inheritence.

Is This Answer Correct ?    16 Yes 1 No

Difference between multi-level and multiple inheritance?..

Answer / hafiz usman majeed

multiple inheritence means that a class is inherited from
more than one class. whereas multi-level inheritence means
that a class is inherited at more than one level that is it
can be inherited internally and/or protectedly.

Is This Answer Correct ?    15 Yes 1 No

Difference between multi-level and multiple inheritance?..

Answer / rajesh kumar k

Multiple inheritance :
More than one Base Class used in Derived Class
Example:
Class A (Base Class)
Class B (Base Class)
Class C (Base Class)

Class D (Derived Class)
Inherit Class A , Class B, Class C
----------------------------------------------------------
Multilevel Inheritance :
Base Class Used Derived Class The Same again we are using as
Base Class
Example :

Class A (Base)
Class B Inherit Class A (Derived Class for Class A
And Base Class for Class C)
Class C Inherit Class B

Is This Answer Correct ?    12 Yes 0 No

Difference between multi-level and multiple inheritance?..

Answer / jyothish vakkom

multiple: x x x (base)
x (sub)



multilevel: x (base)
x (intermedit)
x (sub)

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Why we put script in head of asp.net page Why not in body?

1 Answers  


What?s an abstract clas?

5 Answers   Mind Tree,


What is the difference between struct and class in c#?

0 Answers  


What?s the difference between the System.Array.CopyTo() and System.Array.Clone()?

3 Answers  


Explain the difference between class and interface in .net?

0 Answers  






What is the use of console?

0 Answers  


What is the use of generics in c#?

0 Answers  


What is an interface class? Give one example of it

0 Answers  


What is tryparse?

0 Answers  


What is access specifier in c#?

0 Answers  


Are constructors inherited c#?

0 Answers  


How string definitions will prevent escaping on backslashes in C#?

0 Answers   Siebel,


Categories