Foo foo1 = new Foo(); Foo foo2 = foo1; foo1.someField = "changed"; System.out.println(foo2.someField) // "changed"