int x=10; x=x+=x-=x-x; // x=x+(x-(x-x)) System.out.println(x); 输出结果20 转载于:https://www.cnblogs.com/ckxlovejava/p/6056341.html