Hi Tarun,
There is an important omission in your code:
The reason why there is only 2 objects elligible for GC is that c2 still points to the original object. When you pass c2 to go(), the reference value is copied, so any assignments (including assigning null) to the parameter in the method don't affect the original reference.
Java uses value-copy semantics both for reference and primitive variables.