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

Name the template that is used to create a user-defined component.

0 Answers  


____ property is used to lock a textbox to enter data.

5 Answers  


What is form description?

0 Answers  


What are the advantages of form?

0 Answers  


Is windows an application software?

0 Answers  






Which window displays messages for the status of various features provided in the visual studio .net ide?

0 Answers  


Explain how to add resources during runtime?

0 Answers  


write a program to create login form

1 Answers  


Explain how to get records from a database?

0 Answers  


What?s the difference between the System.Web.UI.WebControls.DataGrid and System.Windows.Forms.DataGrid?

1 Answers  


What are the forms of graphics?

0 Answers  


What is the default property of data control?

2 Answers   Wipro,


Categories