Difference between multi-level and multiple inheritance?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do u mean by delegation of authority?

741


What is difference between private, protected, and public in C#?

807


What are verbatim strings in c#?

704


Write a C# program to find the Factorial of n

761


What is jit (just in time)?

760


What is the advantage of extension method in c#?

680


What is the difference between wrapper class and primitive?

671


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.

1689


What is state c#?

637


Explain the term inheritance in C#.

742


Can you have more than one namespace in c#?

699


Define interface class in c#?

694


What is an inheritance in c#?

685


What is the difference between method parameters and method arguments. Give an example?

721


How do you prevent a class from being inherited?

736