In the code below, given that amethod has been called. At what point/line is the Object originally referenced by myObject, eligible for Garbage Col
amethod
myObject
No object is eligible for garbage collection here because you are creating two reference for the same object and you are giving null to only one reference but other reference is still pointing your object