第1个回答 2018-01-25
下标、
public class Test {
public static void main(String[] args) {
int[] arrayInt = new int[10];
for (int i = 0; i < arrayInt.length; i++) {
// 把i(=后面的)赋给arrayInt的地第i([]里面的) + 1个元素
arrayInt[i] = i;
System.out.println(arrayInt[i]);
}
}
}本回答被网友采纳