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.
Float f = new Float(3.5f); Float f = new Float(3.0f); f = null; f= null; When is object referenced f eligable for g.c? How many objects are eligable for g.c. I think there are 2 objects eligable for g.c. First the Float(3.5f) and then the last reference Of f which is Float(3.0f). Is that correct? What is the earliest point when f is eligable for g.c. is it line 3? Appreciate your answers. Thomas