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
How do I run managed code in a process?
What is difference between sleep () and wait ()?
What is difference between yielding and sleeping?
What is use of console?
Why we need get set property in c#?
Explain About Iunknown interface Queue
What does string intern do?
Is vs as c#?
What is difference between arraylist and list in c#?
Define an array?
What is the difference between “dispose” and “finalize” variables in c#?
Is static thread safe?
Can constructor be private c#?
What is the difference between protected and internal in c#?
Enlist some of the properties of a thread class?