public class TestIncr { public static void main(String args[]) { int i = 0; i = i++ + i; System.out.println("I =" +i); } }
I = 1
I = 2
I = 3
编译出错