And anyone who writes "a=a++" in production code should be flogged about the face and shoulders with a dead mackerel.
Absolutely. But every single SCJP study guide -- and I suspect many versions of the test -- want you to be able to explain this behavior. Along with those *&^*&^ "How many String objects are there?" and "When is the FooBlat eligible for GC?" questions!