二维数组
```java
int [][] arr = {{1,2},{2,3},{3,4}}
for (int i = 0; i < arr.length; i++) {
for (int j = 0; j < arr[i].length; j++) {
System.out.println(arr[i][j]);
}
}
二维数组
```java
int [][] arr = {{1,2},{2,3},{3,4}}
for (int i = 0; i < arr.length; i++) {
for (int j = 0; j < arr[i].length; j++) {
System.out.println(arr[i][j]);
}
}