我执行了代码,输出是19,但我不明白为什么.
public static void main(String[] args) { int x = 0; x = (x = 1) + (x = 2) * (++x) * (x++); System.out.println(x); }
java core operators
core ×1
java ×1
operators ×1