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 union and join?
What are the different types of proxy patterns?
What is Dynamic Web and discuss its usage with the help of real life examples?
How do we sort the data from a dataset?
What are resource file and how do we generate resource file?
What is the default Orientation property in a Menu control?
How does a content page differ from a master page?
What is http post action?
Explain login control and form authentication.
What is the benefit of WebAPI over WCF?
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
Describe the .net base class library.
How to unit test Web API?
Define the term Scavenging in Caching?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?