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 |
Explain the difference between listindex and tab index?
What is an example of form?
What is a windows forms application?
Which property of the errorprovider control automatically sets to the form to which?
What are ACID properties of a transaction in DBMS (Database Management System)?
What are window applications?
Which event occurs when a user drags an item in a treeview or listview control?
What is a fillable form?
what is the difference between Listindex and Tab index?
How to create class level variable that can be assigned value at the time of declaration and in the constructor alone?
Which controls can not be placed in MDI ?
What is the difference between the add() and insert() methods of a listbox control?