Java里面先++与后++详细解说。
//(前)++ 先自增1,然后在运算 //(后)++ 先运算,后自增1 int a1 = 10; int b1 = ++a1; System.out.println("a1="+ a1 + "b1= "+ b1); int a2 = 10; int b2 = a2++; System.out.println("a2 = " +a2 + &q