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

Can we set image Source dynamically using C# in WPF application?

0 Answers   Tech Mahindra,


Is system a class in c#?

0 Answers  


How do I count the length of a string in c#?

0 Answers  


How do I calculate relative time?

0 Answers  


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

0 Answers  






Is multilevel inheritance possible in c#?

0 Answers  


What is an assembly qualified name

0 Answers  


What is Inheritance in C#?

0 Answers   B-Ways TecnoSoft,


What is Signature and parameter in overloading ?

3 Answers  


Explain jagged arrays in c#?

0 Answers  


What is null propagation c#?

0 Answers  


What is ioc containers c#?

0 Answers  


Categories