Difference Abstract class and Interface in .NET?
Submitted by: AdministratorAbstract 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Dot Net Job Interview Questions And Answers
Top Dot Net Questions
☺ | What is Reflection in .NET? |
☺ | What’s Singleton activation mode in .NET? |
☺ | What are possible implementations of distributed applications in .NET? |
☺ | How does output caching work in ASP.NET? |
☺ | What’s the use of System.Diagnostics.Process class in .NET? |
Top Dot Net Technologies Categories
☺ | MSF Interview Questions. |
☺ | .Net Architecture Interview Questions. |
☺ | ASP.Net MVC Interview Questions. |
☺ | Entity Framework Interview Questions. |
☺ | C# (Sharp) Programming Language Interview Questions. |