- int x = 3;
- sout(x++); <- result will be 4
- int y = x++;
- sout(y);<- result is 3
So when we process/use x somewhere we will get old result. When just printing x++ we somehow get a new result? (This part is confusing me)
So when we process/use x somewhere we will get old result. When just printing x++ we somehow get a new result? (This part is confusing me)