Answer Posted / shrikant narayanrao khode
Reason :
Every class inherit ToString() method.
class A ---> ToString()
class B ---> ToString()
-----------------------------
class C :A,B
Toatl ToString() method will be ----> 2
It is going to raise ambiguity problem.
Thats why Multiple inheretance is not possibe.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is php better than c#?
What is the use of functional interface?
What is constants in c#?
What is the main method in c#?
What is an int in c#?
What is the relation between classes and objects?
Why do we Need of static class in c#?
What is the adv of using System.Text.StringBuilder over System.String?
Why do I get a security exception when I try to run my c# app?
How is the syntax written to inherit from a class in C#?Give an example ?
How to properly clean up excel interop objects?
How to block a class from being inherited further?
What is using keyword in C#?
Explain how is the dll hell problem solved in .net?
How to find out that the code is written as managed or un-managed code?