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

Explain briefly the difference between value type and reference type?

737


What are verbatim strings in c#?

663


What are object pooling and connection pooling and difference between them?

699


What is a hash table in c#?

701


Why do we use constructors in c#?

775


Explain copy constructor?

862


Explain about CTS?

732


What is an array class?

739


Explain the clr triggers?

703


What are strongly typed objects?

672


Why do we use reflection in c#?

667


What is different about switch statements in c#?

637


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

1644


How can I develop an application that automatically updates itself from the web?

660


Why interface is required?

609