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 insert record in the database?
What are windows based applications examples?
Which window displays messages for the status of various features provided in the visual studio .net ide?
What are different options to store state in ASP.NET applications?
What is datagrid?
How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar
what is a property to resize a label control according to your caption?
Which property value of the helpnavigator property will display the index for a specified topic?
Explain how to split a column header in gridview using c#.net?
how see report periviwe
What is form and its types?
How to create class level variable that can be assigned value at the time of declaration and in the constructor alone?