differences between class inheritance and interface?

Answers were Sorted based on User's Feedback



differences between class inheritance and interface? ..

Answer / chandra prakash

The most important technical distinction between creating a derived class and implementing an interface is that a derived class can only inherit from one base class, but a class can implement any number of interfaces.

Is This Answer Correct ?    6 Yes 2 No

differences between class inheritance and interface? ..

Answer / waqas ahmed

In C++, multiple class inheritance was allowed but in C# it
is not. The alternate for multiple inheritance is the use of
interface, it works like a pure abstract class (having
methods prototype only and have to be implemented by the
class that is inheriting the interface)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Difference between .NET and previous version?

1 Answers   Microsoft,


What is dataset ?

18 Answers   Infosys, Kuwait University,


What is form method?

0 Answers  


what is AutoEventWireUp and what is the use of This property explain in details?

0 Answers   ITC Infotech,


How do you a replicate a set of controls across a number of ASP Pages

2 Answers  






Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

0 Answers  


What is the difference between an EXE and a DLL?

18 Answers   Infosys, JK Associates, Persistent, TATA, Technosoft, Wipro,


How can you handle exceptions in asp.net?

0 Answers  


What is the main use of Response.Output.Write()?

4 Answers   Siebel,


List all templates of the repeater control.

0 Answers  


Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

2 Answers   Siebel Systems,


Explain the scenario where we go for inpro and outpro session?

3 Answers  


Categories