Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on garbage collection from Kathy Sierra.

 
Shanu Pandey
Greenhorn
Posts: 18
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 133
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are trying to get work done using the forum members. This is not recommended.
 
Matt Cartwright
Ranch Hand
Posts: 152
Linux VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DIAGRAM
 
shuba gopal
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shanu, give a search in the forum for Alpha a1. This question has been answered previously.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic