What are constructors and destructors?



What are constructors and destructors?..

Answer / rupali

constructor is a special method which is called when class is instantiated. this method is used to assign values to the
members of a class. constructor has same name as class.
Destructor is opposite to constructor & has same name of
class. this method is called when object of a class is
destroyed.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

Clear property is available in hich control?

2 Answers  


What are 3 main differences between flexgrid control and dbgrid control?

0 Answers  


what is the property to resize a label control according to your caption?

1 Answers  


What is the difference between a Dynaset and Snapshot and how would you create one?

2 Answers  


How do I implement an incremental search in list/dir/combo/file boxes?

0 Answers  






I get a "file not found" error on the IIF function when I distribute by program. Why?

0 Answers  


How would you add elements and pictures to listitems in listview control?

0 Answers  


What are the different cursor types that can we create using ADO Recordset? Difference between these cursor types?

2 Answers  


What is disconnected recordset?

2 Answers  


Explain about conditional operators?

0 Answers  


Difference between DDE and OLE.

0 Answers  


Which property of textbox cannot be changed at runtime ?

3 Answers   JPMorgan Chase,


Categories