注意==和=的区别
int i=10;
int j=20;
System.out.println(i==j);
输出结果是false
System.out.println(i=j);
输出结果是20
即把j的值赋给了i,并输出i现在的值。