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
Securitywise What are the Enhancements in 2.0?
What is a gridview in asp.net?
What is paging in context of Memory?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
Why would a company use an application service provider?
How do cookies work? Give an example of their abuse.
What is the difference between session.abandon() vs clear()?
Can we set master page as a start page?
What is Web Server Control Templates.?
How do session tokens work?
How will you load dynamic assembly? How will create assesblies at run time?
IN an ASP.NET Web application if there is any error, how can you debug?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
What is data binding in asp net?
What is http post and http get?