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 |
how print PGL by XML
0 Answers Bank Of America, Wipro,
What are ACID properties of a transaction in DBMS (Database Management System)?
what are events?
List out controls which does not have events?
What is the difference between the add() and insert() methods of a listbox control?
How many number of events does the Timer controls ?
For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?
Name the method that has to be overridden to change the appearance of the control that is inherited from an existing control.
what is the Difference between listbox and combo box?
What are controls in windows forms?
What is the use of stretch property in Image control?
Which Isolation level is helps to read uncommitted data?