Why multiple Inheritence is not used in C#?
Answer Posted / a b
Implementing from multiple interfaces is not true multiple
inheritance. The objective of inheritance is code reuse,
which is attained only when the base class contains that
code. But since an interface does not contain any code code
at all, there's no code reuse happening at all. Instead, an
implementing class needs to provide code for each and every
method defined in a class.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a cshtml file?
What is the difference between finally and finalize block?
hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?
What do you mean by string objects are immutable?
Explain about Destructor method?
Is a valid int value?
What is the difference between new and override in c#?
What is the execution entry point for a c# console application?
What is difference between an Structure and Class?
What is wpf c#?
What is the difference between an application domain and a process?
Explain the difference between a sub and a function in c#.
What is dataset c#?
Is c# a technology?
What is a generic method?