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 assembly version series sequence?

1 Answers  


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1 Answers  


What is throw in c#?

1 Answers  


Define multicast c# delegate?

1 Answers  


What is an event in c#?

1 Answers  


Explain dataadapter.update method in .net?

1 Answers  


Can you inherit multiple interfaces?

3 Answers  


When was .net linq added?

1 Answers  


What is ulong in c#?

1 Answers  


Value Type and Reference Type Data type in C#?

1 Answers   HCL,


Is goto statement supported in C#? How about Java?

2 Answers  


Whats an assembly? Describe the importance of assembly?

1 Answers   Siebel,


Categories