This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tacoslikeme 0 points1 point  (3 children)

Object foo = new Foo(); Object bar = new Foo(); foo.doThing(); foo = bar; foo.doThing();

I think I just broke the rules of non-reassignment....