Basic Dot Net Question:
Download Questions PDF

Difference Abstract class and Interface in .NET?


Abstract class: This class has abstract methods (no body). This class cannot be instantiated. One needs to provide the implementation of the methods by overriding them in the derived class. No Multiple Inheritance.
Interfaces: Interface class contains all abstract methods which are public by default. All of these methods must be implemented in the derived class. One can inherit from from more than one interface thus provides for Multiple Inheritance.

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
What’s the use of System.Diagnostics.Process class in .NET?Explain re-clarification of object based in .NET?