public void increment(){ int zero = 0; int oneA = zero++; // Compiles int oneB = 0++; // Doesn't compile int oneC = getInt()++; // Doesn't compile } private int getInt(){ return 0; } 他们都是int,为什么B&C不能编译? 是否这样做++运算符不同于= 0 + 1; ? 操作的参数无效++ / –