This is a question from
ExamLab. How many objects are eligible for GC?
Answer is 2.
But i think, only 1 is eligible for GC ie. the object refered to by c before it is nulled.
Is there any object eligible for GC in line-1?
can anyone explain how come 2 objects are eligible for GC here?