Programming Tutorials

Comment on Tutorial - Object Reference Variables in Java By aathishankaran



Comment Added by : Deepak Mohan

Comment Added at : 2015-12-22 01:50:29

Comment on Tutorial : Object Reference Variables in Java By aathishankaran
I see two mutually incompatible statements in the article above. Can someone please explain?

a) For example, a subsequent assignment to t1 will simply unhook t1 from the original object without affecting the object or affecting t2.

b)t1 = null

Here, t1 has been set to null, but still points to the original object.


View Tutorial