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
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
Can datetime be null c#?
What is the implicit name of the parameter that gets passed into the class set method?
What is the interface in c#?
What do you mean by string objects are immutable?
what is IComparable
What is an abstract class c#?
What is using directive in c#?
How do you declare a method in c#?
What is 8 bit signed integer?
What do you mean by casting a data type?
What is an escape sequence? Name some string escape sequences in c#.
Does c# have its own class library?
How can you access a private method of a class?
What is the difference between method and constructor in c#?