What is garbage collection

Showing Answers 1 - 2 of 2 Answers

Ritesh

  • Jul 25th, 2005
 

Java provide a automatic clean up of object if that object referecne counter becomes zero. and this is done by the garbage collector. this will invoke automatically and free all those resources(object) who is not been use for a long time..

  Was this answer useful?  Yes

Ganesh MN

  • Jan 6th, 2011
 

Garbage Collection is the automatic memory management system  by which JVM discards unreachable objects(objects which are not being referrenced by any reference varible).

  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