posted 12 years ago
As Jesper has already said, this code won't compile. If you fix that error and get it to compile, the answer should be obvious.
Remember, there is a difference between changing the object and changing what object a reference points to...
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors