Answer Posted / shivanand arur
Abstract class is a class which can have both, abstract and non-abstract methods. Abstract methods are the one's which are just declared in the class but does not have any body inside it. The abstract classes are defined by a keyword "abstract". The class which inherits this abstract class, has to declare the method in it and has to give its function body...An abstract class cannot be instantiated and its methods are internally virtual.
Interfaces are always chosen over these abstract classes since interfaces provide multiple inheritance but once a class is inherited that class cannot inherit any other class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many types of sessions are there in asp net?
What is a query string in a url?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
Name the namespace which is used by ado.net?
How to implement role based security in asp.net mvc? : Asp.Net MVC
What are the parts of an http response?
What is a 1x1 pixel?
Explain what are delegates?
What do you mean by query string?
Where session variables are stored?
How to handle errors in Web API?
What is the concept of view state in asp.net?
What do you mean by authentication?
Can we use MSSql as backend in asp.net...if yes then How.?
Explain a program using razor view engine to create a simple application? : asp.net mvc