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 the data provider name to connect to access database?

0 Answers  


How to find out that the code is written as managed or un-managed code?

0 Answers   Amazon,


Explain namespaces in c#.

0 Answers  


Is array a collection c#?

0 Answers  


Is c# 8 released?

0 Answers  






From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

0 Answers  


Can mvc be used for desktop applications?

0 Answers  


How to assign default value to nullable types? Did nested nullable types are allowed

2 Answers   TCS,


What does using do in c#?

0 Answers  


why we can't create an object for a static class?? what is the reason behind this?

4 Answers   HCL,


What are some of the commonly used commands in sqlcommand?

0 Answers  


What is datagridview in c#?

0 Answers  


Categories