why .net does not support multiple inheritance?
Answer Posted / satish kumar k
Languages that only allow single inheritance (such as Ada,
Objective-C, PHP, C#, Delphi/Free Pascal and Java) allow the
multiple inheritance of interfaces (called protocols in
Objective-C). Interfaces are essentially abstract base
classes with all abstract methods and no data members. The
problem is therefore avoided since there is always only one
implementation of a specific method or property and no
ambiguity arises
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the microsoft .net?
What is the difference between .net 2000 and .net 2005(features)? Which one is better?
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
How to debug failed assembly binds?
Explain me how does linq work?
Explain difference between panel and groupbox classes using .net?
What is view state in .net?
Explain how to load the contents of an xml file into an xmldocument object?
How do you instantiate a complex number?
Name the classes that are introduced in the system.numerics namespace.
What exactly is being serialized when you perform serialization in .net?
How viewstate is being formed and how it's stored on client in .net?
What is the advantage of .net core?
Will it go to finally block if there is no exception happened?
What is a variable of implicit type and what is its scope?