aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test2/NewArray.java
blob: d61fa75034ae6eec05f915f33982ec285f2ac7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package test2;

public class NewArray {
    public int run() {
        return foo(1);
    }

    public int foo(int i) {
        String[] s1 = new String[3];
        String[][] s2 = new String[4][];
        String[][] s3 = new String[5][6];
        int[] i1 = new int[7];
        int[][] i2 = new int[8][];
        int[][] i3 = new int[9][10];
        int[][][] i4 = new int[11][12][];
        return i;
    }
}