aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Garbage collection problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Garbage collection problem" Watch "Garbage collection problem" New topic

Garbage collection problem

Rajesh k Jha
Ranch Hand

Joined: May 10, 2009
Posts: 72
My question is that after reaching //dostuff
how many objects are eligible for garbage collection

This question is from K&B chap-3
Can somebody explain how this all is happening in detail, as i am a bit confused about garbage
collection, I read a lot but still i am not happy with my knowledge about it

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14492

The same question has been discussed a number of times before:

I found these by searching the forum for the word "Dozens".

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
jQuery in Action, 2nd edition
subject: Garbage collection problem