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
Can we override static class in c#?
Is string a primitive data type in c#?
What is the execution entry point for a c# console application?
What is public void in c#?
What is console writeline in c#?
What is the use of console readkey ()?
How to exclude a property from xml serialization?
Explain how many types of exception handlers are there in .net?
What is the difference between array and arraylist c#?
What is whitespace in c#?
Explain attributes in c#?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
What is an example of delegation?
What does f mean in c#?
What does do in c#?