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 to achieve polymorphism in c#?
What is dll file in c#?
How many types of delegates are there in c#?
What is meant by clr?
Is array value type in c#?
What is native image generator (ngen.exe)?
How Reflection is used and what it's significance ?
Does a loop recorder have to be removed?
Is dll a library?
Can you declare a class or a struct as constant?
Explain more on CLR
Is c# difficult to learn?
What's the c# syntax to catch any possible exception?
What's your approach to fetch static data in your windows form application?
Write a short note on interface?