Printing the address of nums: [LMutableInteger;@677327b6 Printing the values of nums[0], nums[1], nums[2]: null null null The address of a: MutableInteger@14ae5a5 Value of a is 1 The address of b: MutableInteger@7f31245a Value of b is 2 The address of c: MutableInteger@6d6f6e28 Value of c is 3 Address of origA MutableInteger@14ae5a5 Address of origB MutableInteger@7f31245a Address of origC MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 3 Now changing nums[0] = a nums[1] = c nums[2] = b Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 1 3 2 Printing the Address of a,b,c: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of a,b,c: 1 2 3 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 3 Now changing: a = nums[1] Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 1 3 2 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of a,b,c: 3 2 3 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 3 Now Changing: b = nums[0] Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 1 3 2 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@14ae5a5 MutableInteger@6d6f6e28 Printing the Values of a,b,c: 3 1 3 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 3 Now changing: c = nums[2] Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 1 3 2 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@14ae5a5 MutableInteger@7f31245a Printing the Values of a,b,c: 3 1 2 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 3 Now changing: a.setValue(b.getValue()); Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 1 1 2 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@14ae5a5 MutableInteger@7f31245a Printing the Values of a,b,c: 1 1 2 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 1 2 1 Now changing: b.setValue(c.getValue()); Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 2 1 2 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@14ae5a5 MutableInteger@7f31245a Printing the Values of a,b,c: 1 2 2 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 2 2 1 Now changing: c.setValue(a.getValue()); Printing the Address of nums: [LMutableInteger;@677327b6 Printing the Address of nums 0 - 2: MutableInteger@14ae5a5 MutableInteger@6d6f6e28 MutableInteger@7f31245a Printing the Values of nums 0 - 2: 2 1 1 Printing the Address of a,b,c: MutableInteger@6d6f6e28 MutableInteger@14ae5a5 MutableInteger@7f31245a Printing the Values of a,b,c: 1 2 1 Printing the Address of origA, origB, origC: MutableInteger@14ae5a5 MutableInteger@7f31245a MutableInteger@6d6f6e28 Printing the Values of origA, origB, origC: 2 1 1 Printing the value of origA, origB, origC final 2 1 1