Before assignment
t1 -----> Memory for t1
t2 -----> Memory for t2
When you assign t1 to t2, reference of t1 is passed to t2.
t1 -----> Memory for t1
t2 ---|
So, both the variables point to same object.
Change to any of them will be reflected in both.