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
Why do we use delegates in c#?
What is the console on a mac?
Is constructor a static method?
Why do we use Design Pattern in C#?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What is the difference between returning iqueryable vs ienumerable?
What is a copy constructor in c#?
How to declare a property in a class?
What is the output of TextWriterTraceListener redirected?
What is arraylist?
What is dao in c#?
What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?
How do I declare a pure virtual function in c#?
What is helper method in c#?
What is the difference between ienumerable and icollection?