Which method get called between a object is declared and it is collect by the garbage collector.A)DeleteB)Disposec)FinalizeD)Close

Showing Answers 1 - 2 of 2 Answers

sonali panda

  • Apr 14th, 2006
 

Finalize method is called.when the process get starts it occupy some space in memory,where the objects resides.when no space is available and application has to create a new object,objects no longer used by appication is gabage collected,but if the obj is having a finilize function,it is called first and the object will not b garbaged(or it will not be destroyed),once the finilize function gets executed,the next time the garbage will run the object is garbaged and destroyed.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions