Question 13: There are a number of labels in the source code below. These are labeled a through j. Which label identifies the earliest point where, after that line has executed, the object referred to by the variable first may be garbage collected?
Select the one right answer.
a.d: (What The Awnser Is) b.e: c.h: d.i: e.j: (what I think)
Can anyone explain me why ,i have read the explaination given by Boone but couldnt get it.
i think its last line j: becuase although variable first is nulled at line d: but its refernce is still holded by line c: by the variable riddle.
Thanks, With Regds, Anand.
Thanks and Regards, Anand
SCJP 5.0 310-055 73%, SCWCD 1.4 310-081 78%, IBM DB2 9 Fundamentals 000-730 62%