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
What is the difference between page directive include and action tag include?
What are the advantages of passport authentication?
Briefly describe the role of global.asax?
Is a dll file an executable?
What are the event handlers that can be included in the Global.asax file?
What are the asp.net 2.0 features?
Why does my asp.net file have multiple tag with runat=server?
COM+ Used ________________ Isolation Level
Give me one example of Web API Routing?
What is an assembly? Explain its parts.
Can you explain one critical mapping? Performance issue which one is better?
How does asp net store session ids by default?
What do you mean by authentication?
Explain the difference between asp and asp.net?
How many types of cookies are there in asp.net?