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 are the Uses of CLR
Is array passed by reference in c#?
Write a syntax for writing a event delegate.
What is poco c#?
How is a loop recorder monitored?
Why is dll used?
Define the term immutable ?
Is c# and .net same?
What is thread pooling?
What is the use of delegate?
Is c# a keyword?
What is console writeline in c#?
Define Abstract Class in C#
What is the data type for bit in c#?
what is IDisposal interface