1int[][] numbers = new int[7][];
2
3// row 0 gets 5 columns
4numbers[0] = new int[5];
5// row 1 gets 11 columns
6numbers[1] = new int[11];
7// etc...1public static void main(String[] args) {
2
3    int[][] foo = new int[][] {
4        new int[] { 1, 2, 3 },
5        new int[] { 1, 2, 3, 4},
6    };
7
8    System.out.println(foo.length); //2
9    System.out.println(foo[0].length); //3
10    System.out.println(foo[1].length); //4
11}
12