[求助]有点迷糊-JAVA
public class Q {public static void main (String [] args) {
int[] arrayOflnts = {32,87,3,589,12,1076,2000,8,622,127};
int i,temp;
for (i = 0;i <= 10;i++) {
if (arrayOflnts[i] > arrayOflnts[i+1]) {
temp = arrayOflnts[i];
arrayOflnts[i] = arrayOflnts[i+1];
arrayOflntso[i+1] = temp;
}
}
System.out.println(arrayOflnts[i]);
}
}
//看看 这里哪有什么不对么?