有人可以解释初始化部分在做什么吗?以及这个 for 循环将如何结束?
The for loop generally I see is
for(int i =0; i<5; i++){
}
but the following one is
int[][] xx = { {-1,0}, {0,1},{1,0},{0,-1}};
for(int[] y : xx){
int i = y[0];
int j = y[1];
System.out.println(i+" "+j);
}