This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
1 The automatic garbage collection of the JVM prevents programs from ever running out of memory 2A program can suggest that garbage collection be performed but not force it 3 Garbage collection is platform independent 4 An object becomes eligible for garbage collection when all references denoting it are set to null.
Didn't understand why option 4 is right? What about isolated circular objects, one refers to the other but all of them can be garbage collected.