differences between class inheritance and interface?
Answers were Sorted based on User's Feedback
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 |
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 |
Difference between .NET and previous version?
What is dataset ?
18 Answers Infosys, Kuwait University,
What is form method?
what is AutoEventWireUp and what is the use of This property explain in details?
How do you a replicate a set of controls across a number of ASP Pages
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
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?
What is the main use of Response.Output.Write()?
List all templates of the repeater control.
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
Explain the scenario where we go for inpro and outpro session?