Monday, February 7, 2011

.Net and ASP.NET Interview Questions- Why can't we instantiate an abstract class?

.Net and ASP.NET Interview Questions- Why can't we instantiate an abstract
class?


Answers:-
This is a nice .NET interview question. Abstract class is a half defined class and there is not point in creating a object of half a defined class. So you need to define a full implementation by creating a child class and you can then create the object of the child class.

Click here for 32 basic .NET interview questions and answers


No comments: