how to call constructor in abstract class

Answers were Sorted based on User's Feedback



how to call constructor in abstract class..

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

how to call constructor in abstract class..

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

Post New Answer

More Dot Net WindowsForms Interview Questions

What is the advantage of a form?

0 Answers  


How many navigational features are provided by visual studio.net ide?

0 Answers  


What are the components of gui for windows?

0 Answers  


Explain how to split a column header in gridview using c#.net?

0 Answers  


Explain how insert record in the database?

0 Answers  






How to create a set up in vb.net for desktop application please say steps with examples?

0 Answers  


What is form record?

0 Answers  


Explain how barcode create in the report?

0 Answers  


Which property of textbox cannot be changed at runtime?

2 Answers  


how can u split a column header in gridview using C#.net

2 Answers   IBM,


I have two combobox .. and i have some items in both combobox now i need to check the item in both combobox if same item is Present in both combobox i need to display that item in message box

9 Answers   CSS, Wipro,


what are events?

4 Answers  


Categories