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 is mvc in c#?
How does the clr work?
What is a delegate? How can it works?
Which is faster array or arraylist in c#?
What is multicast delegate in c# ?
What are the 3 different types of arrays?
Is void a class?
Explain how can you clean up objects holding resources from within the code?
What can be done with c#?
Can we inherit a class with private constructor in c#?
What is an int c#?
What is the data encapsulation?
Why should I use interface in c#?
What does the dispose method do with the connection object?
What will a loop recorder show?