Question: How many objects are eligible for garbage collection after executing statement “c.aob=null”
I thought only one object is eligible for garbage collections ( ie created at line 6).
But the correct answer is two objects are eligible for garbage collection. But how?