adspace


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


Please Help Members By Posting Answers For Below Questions

What is an abstract class c#?

966


Why can't we use a static class instead of singleton?

948


What is expression tree in c#?

996


Which namespaces are necessary to create a localized application?

1139


How do you inherit a class into other class in c#?

991


How to assign Null value to Var?

1059