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
Which object wraps the state or data of a user?
What is %20 in a url?
How does viewstate work?
What is http session state?
Demonstrate Render and PreRender?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What is asp.net futures?
Is asp.net mvc still used? : Asp.Net MVC
How are sessions stored?
Can you explain composite pattern?
What is tracing? Where is it used?
Can we create a multiple user simultaneously ?
What is meant by asp.net?
How can we Validate a Controls in ASP.NET page using JavaScript?
What is round trip in asp.net?