This question is from the
ExamLab Diagnostic
Test for
SCJP 5.
I drew a sketch of this problem, and I found that only 1 object was eligible for garbage collection. The test answers say that there are 2 objects eligible for garbage collection. Am I right or am I wrong? What do you think?