Originally posted by marc weber:
In line 1, an instance of C is assigned to variable b. Then in line 4, that instance of C (referenced by variable b) is also assigned to variable a. So by line 9, the variable a does, in fact, reference an instance of C.
thanks a lot..got it..