aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B Self Test Chp3 Q11 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "K&B Self Test Chp3 Q11" Watch "K&B Self Test Chp3 Q11" New topic
Author

K&B Self Test Chp3 Q11

Jack Bento
Ranch Hand

Joined: Jun 14, 2009
Posts: 34


When line 16 is reached, how many objects will be eligible for garbage collection?

Is there really only 1 object eligible? I make it the 2 objects b1 & a1
Neha Daga
Ranch Hand

Joined: Oct 30, 2009
Posts: 504
this question has already been discussed here


SCJP 1.6 96%
Jack Bento
Ranch Hand

Joined: Jun 14, 2009
Posts: 34
thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: K&B Self Test Chp3 Q11