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
Define parsing?
What is lock statement in C#?
What is Delegate and what is it used for ?
What is an indexer in c#?
Is it not possible to store a boolean value as a variable?
Explain lock, monitors, and mutex object in threading.
What is a factory in c#?
Is double a decimal?
Is array passed by reference in c#?
What is mvc firstordefault?
What is single dimensional array in c#?
What are the main reasons to use c# language?
What is streamreader/streamwriter class?
How to use the sreamReader class to read form a text file?
What are All kind of access specifiers for a class and for methods