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

What is the use of Visual Basic Document file?

0 Answers  


Difference between listbox and combo box.

12 Answers   HCL, Infosys,


How do we call MS- Excel in VB?

3 Answers  


_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.

0 Answers  


Clear property is available in ____,___ control.

0 Answers  






How would you view html code in Active Server Pages?

1 Answers  


What is FireHouse Cursors?

0 Answers  


Which controls can not be placed in MDI ?

2 Answers  


what database you used in project?

2 Answers   Satyam,


what is the difference between procedures,attributes and functions?

1 Answers   Microsoft, Patni,


___ Property is to compress a image in image control.

1 Answers  


How would you create properties by using class Builder Wizard?

0 Answers  


Categories