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 is IEquatable
What is the difference between null and string empty in c#?
What is the default value of boolean variable?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
What is c# commonly used for?
What are the different approaches of passing parameters to a method?
What can be done with c#?
Is c# good for games?
Is string value type c#?
What is default access modifier for class in c#?
Can a constructor be static in c#?
What is the system namespace?
What does int32 mean?
Is namespace necessary in c#?
What is a custom attribute?