This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Question on garbage collection from Kathy Sierra. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question on garbage collection from Kathy Sierra." Watch "Question on garbage collection from Kathy Sierra." New topic
Author

Question on garbage collection from Kathy Sierra.

Shanu Pandey
Greenhorn

Joined: Mar 17, 2011
Posts: 18

This Question is from Kathy Sierra page 275 chapter 3.





When line 16 is reached,
(1)how many objects will be created and
(2)how many objects will be eligible for garbage collection?


Please Reply....with diagram(if possible)
Yogesh Gnanapraksam
Ranch Hand

Joined: Dec 17, 2009
Posts: 133
You are trying to get work done using the forum members. This is not recommended.
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

DIAGRAM
shuba gopal
Ranch Hand

Joined: May 12, 2011
Posts: 76
Shanu, give a search in the forum for Alpha a1. This question has been answered previously.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on garbage collection from Kathy Sierra.