how to call constructor in abstract class
Answers were Sorted based on User's Feedback
Answer / maniekb
you can't.
constructor is used
to build object,
abstract class cannot
have objects because
is abstract...
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / rizwan
As abstract class is mainly used in inheritance, you can
derive abstract class and then by creating object of derived
class, you can call base class constructor, which is
abstract class. Another way to call constructor of an
abstract class is to make that constructor as static.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are controls in windows forms?
Is it possible to save view state on the web server?
What is the difference between a document and a form?
How many types of dialog boxes windows provides?
Is windows an application software?
Is form action required?
which property is used to change to some value to access a identity column in datacontrols?
What are different authentication types. How do you retrieve user id in case of windows authentication?
How to use the FindControl() function to preselect an item in my dropdownlist?
which Property is used to count no. of items in a combobox?
what is the control used to call a windows application?
How many system controls are available ?