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:
Although I can't follow the flow to figure out why.
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter