Cleaning operation in Java is done in the method(a) finally() (b) finalize() (c) final()

Showing Answers 1 - 2 of 2 Answers

lavanya

  • Apr 17th, 2005
 

b

  Was this answer useful?  Yes

Sumit Sengar

  • Aug 2nd, 2005
 

protected void finalize() method is called by the garbage collector just before it is about to reclaim the memory space acquired by the object.

  Was this answer useful?  Yes

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