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

Explain the "cursortype" and "Locktype" in VB?

1 Answers  


What are different types of cursors in ADODB?

5 Answers  


Which method is used to write context Into file?

2 Answers  


what are the Types of Modal windows in VB?

1 Answers  


What is the use of Visual Basic Document file?

0 Answers  






__ no of controls in form.

0 Answers  


what is the Difference between DDE and OLE?

1 Answers  


What are the Technologies for Accessing Database from Visual Basic?

1 Answers  


1s it posible to Create Tables Through Querydef?

0 Answers  


What is passing by reference?

1 Answers  


What is vbs file?

0 Answers  


What is the use of command Object?What are the various types of variables?

0 Answers  


Categories