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

write a program to create login form

1 Answers  


Explain how save rerecord in the database?

0 Answers  


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 is the Difference between listbox and combo box?

20 Answers   Alpha, Google,


We are facing problem with the compatibilty of IE 7 and IE 6.We are calling a showModal window that is working fine in IE6 but with IE7 it opens a new Window and Data is not getting poputaled.In some pages it Gives an error "The webpage you are viewing is trying to Close the window.Do you want to close this window".

1 Answers   Wipro,


Explain how barcode create in the report?

0 Answers  


how see report periviwe

0 Answers   Wipro,


What are windows based applications?

0 Answers  


What is dynamic linking?

0 Answers  


How to redirect a user to new page in ASP.NET without making a round-trip to the browser?

1 Answers   Arctern,


Clear property is available in which control?

5 Answers  


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

0 Answers  


Categories