About multi level and multiple inheritance how to achieve in
.net ?

Answers were Sorted based on User's Feedback



About multi level and multiple inheritance how to achieve in .net ?..

Answer / senthil kumar

.net supports directly to the multi level
inheritance.but .net doesnot support the multiple
inheritance directly instead of that we use interface used.

for example,multilevel inheritance

class a
{
-----
-----
-----
}

class b : a
{
-----
-----
-----
}

class c : b
{
----
----
----
}

multiple inheritance - interface
--------------------------------
interface a
{
-----
-----
-----
}

Is This Answer Correct ?    12 Yes 1 No

About multi level and multiple inheritance how to achieve in .net ?..

Answer / akila

we achive multilevel multiple inheritance in .net as like
java

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Sharp Interview Questions

What is Dispose method in .NET?

3 Answers  


if a method is marked as protected internal who can access it?

0 Answers   Siebel Systems,


What is the difference between Singleton design pattern and Factory design pattern?

0 Answers  


What are the differences between system.string and system.text.stringbuilder classes?

0 Answers  


Why do we use abstract class in c#?

0 Answers  






What is difference between static and constant variable?

0 Answers  


What is difference between abstraction and encapsulation in c#?

0 Answers  


What is an array of arrays called?

0 Answers  


What is delegation in oops?

0 Answers  


What is ulong in c#?

0 Answers  


What is generic delegates in c#?

0 Answers  


What is iformatprovider in c#?

0 Answers  


Categories