public class Traceme { public static void main(String[] args) { int x = 1; int y = 2; int z = 1; x = y++ + --z - ++x; // z = z - 1; x = x + 1; x = 2 + 0 - 2; y = y + 1; // x: 0, y: 3, z:0 while(x <= 10) { x += 20; // x = x + 20; z *= 2; // z = z * 2; y = y++ + ++y; // y = 3 + (4 + 1); -> y: 8 } x = 10; x = x++; x /= 3; y *= 2; z += y *= x; x *= x += 3; y = x++ - x; System.out.println("x = " + x + " y = " + y + " z = " + z); // Vermutung: (wenn bisher alles in richtiger Reihenfolge gerechnet wurde): // x: 19, y: -1, z: 40 (war nicht einfach!) } }