is c#.net supports multiple inheritance?

Answer Posted / dipal mehta

The above one is a right answer but the reader who reads it
for referance plz Note line :

I1 i1=new sample();
i1.add();

This might confusing but It means that We have created
object of I1 interface class but with sample as a assigned
object which is valic in this case.
Now call of i1.add() will call the method of interface I1
which points to or defined in Sample class
This will more clearer if you will append two or three more
simple methods like subtract() and try to call it as above
one which actually a part of Mostly used Multiple
Inheritance funda.
personally speaking it will benefitial to you if try
yourself
Hope readers like tips

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between managed and unmanaged code?

450


What is "common language specification" (cls) in .net?

529


How many types of design patterns available in .NET?

597


What is the use of common language runtime?

596


What is the difference between imperative and interrogative code?

1577






How big is the datatype int in .net?

561


What is the advantage of .net?

530


How ccw (com callable wrapper) and rcw (runtime callable wrappers) works?

563


Explain what is the difference between web application and enterprise application?

538


What are Attributes in .NET?

574


What is meant by localization?

630


What are the similarities and difference between class and structure in .net?

517


What is the use com component in .net?

568


What are the differences between user control and server control?

583


What is cyclomatic complexity and why is it important?

1709