I was reading over some posts in the
SCJP forum and there was a question about the increment operation. Alhough I think I understood the answer there, I came up with a puzzling problem of my own that I cannot figure out.
Consider this code:
the output is:
1
0
Although I can't follow the flow to figure out why.