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
What do u mean by delegation of authority?
What is difference between private, protected, and public in C#?
What are verbatim strings in c#?
Write a C# program to find the Factorial of n
What is jit (just in time)?
What is the advantage of extension method in c#?
What is the difference between wrapper class and primitive?
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.
What is state c#?
Explain the term inheritance in C#.
Can you have more than one namespace in c#?
Define interface class in c#?
What is an inheritance in c#?
What is the difference between method parameters and method arguments. Give an example?
How do you prevent a class from being inherited?