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 |
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
What are the main components of the ADO object model? How are they used?
2 Answers HCL, Syntax Softtech,
What's a bubbled event?
whats the purpose of AUTOPOSTBACK property for the controls in asp.net?
How can we update records in gridview?Is there any appropriate code for it?
Why do we use web config?
Where session variables are stored?
What is ispostback method in asp.net? Why do we use that?
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)
Explain the main function of url routing system in asp.net mvc? : asp.net mvc
i have a register form & in that form i have a 2 textboxes for entering name&age.my doubt is that how can i provide error message like "invalid entry" when user enter a invalid name/age(eg:user enter name as #%%%##daff,and age as 1000.)in that textboxes.I want code.
What is meant by asp.net?