the object is not eligible for Garbage Collection.
It can be reached through bc.ob.ob as that action is performed in previous line:
mohitkumar gupta wrote:
then a ----> null too
as refers to b
(here a, b are references and c is object)