System.out.println(info + ": " + ++x);
is a statement equivalent to
x++; System.out.println(info + ": " + x);
and
System.out.println(info + ": " + x++);
equivalently
System.out.println(info + ": " + x); x++;
Since the JVM can only process one statement at a time, does it divide these statements as follows:
source share