哈哈哈哈哈哈
package ClassroomExercises;
import java.io.File;
public class Practice {
public static void main(String[] args) {
int[][] arr = {{1,2,3},{4,5},{6}};
for(int x=0; x<arr.length; x++) {
for (int y = 0; y < arr[x].length; y++) {
System.out.print(arr[x][y] + " ");
}
System.out.println();
}
}
}