Here when line1 is invoked the object referenced by mc will be available for GC. This happens beacuse once a method completes the references to the object dissappear with the call stack.
But just to assume that was not the case. Then even if mc = null is invoked, the object wont be available for GC as it still has references from the code inside the method, Am i right?