int a = i++;是先赋值再运算
int a = ++i;是先加一再赋值
例题
1 int n = 10; 2 n += (n++)+ (++n);// 10 + 10 + 12 3 System.out.println(n);//print 32
逻辑运算符号混合运算
int x = 1; int y = 1; if(x++==2 & ++y==2){//False & True x=7; }//x++ , ++y System.out.println("x="+x+",y="+y);//x=2,y=2