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 a property to resize a label control according to your caption?

1 Answers  


How many system controls are available ?

1 Answers  


what is the difference between Listindex and Tab index?

1 Answers  


which Property is used to count no. of items in a combobox?

3 Answers  


How do you display an editable drop-down list?

1 Answers  






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

2 Answers   IBM,


What are the three states set in a checkstate property?

0 Answers  


What is window form application?

0 Answers  


How is anchoring different from docking?

0 Answers  


How can you pause a timer control?

0 Answers  


What is form and meaning?

0 Answers  


Hi, I am implementing one windows form. I am inserting some values into ms access. In that table 5 columns there. But I want to insert three columns only. when I am clicking another button then other two values also insert into that table. please help me

3 Answers   Satyam,


Categories