Why multiple Inheritence is not used in C#?
Answer Posted / ashwi ni chavan
A
/ \
B C
\ /
D
here D get the 2 copy's of A first copy get from B then
second copy get from C .
In class D name collision problem occure means two method's
or data member has same name occure in D class.thats why get
confusion of that's method's this promblem is also called as
Diamond problem........this problem solved using the
interface concept .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are partial types in c#?
Is comparable a functional interface?
What is wrong with the sample program below?
What does the initial catalog parameter define in the connection string?
What is datatable and dataset in c#?
Give an example of a ctype.
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
Explain about c# language.
What is a scope in c#?
How do you prevent a class from being inherited in c#?
What is foreach loop in c#?
Where do we use static class in c#?
What is a framework in c#?
Can we make a Static Constructor Parameterized? Give Reason with your answer
List the difference between interface and abstract class?