what is abstract class and method..
Answers were Sorted based on User's Feedback
Answer / asif aslam
Abstract class start with the keyword abstract,we can't
create direct instantiate of the abstract class,an abstract
class may contain the pure virtual,abstract function.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
How do I use response redirect?
Describe the difference between inline and code behind - which is best in?
suppose i am Admin in my application and i have to terminate the session of the particular user in my application.........how can i do it....?????
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
What is the main difference between a static page and a dynamic page?
Is data can be edited in the Repeater control?
What is a transaction? a) A banking term. b) A concept used to describe a step in the business process. c) A combination of DML steps that must succeed or the data is retuned to its initial state. d) A combination of DDL steps that must succeed or the data is retuned to its initial state.
What is cross page posting in asp net?
What are the different authentication modes in asp.net?
Why web api is better than wcf?
What is the difference between globalization and localization?
You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.