1 public class MultiArrayTest { 2 public int[][] multiArray; 3 4 public MultiArrayTest(int[] multiSizes) { 5 multiArray = new int[multiSizes[0]][multiSizes[1]]; 6 } 7 8 public int get(int index1, int index2) { 9 return multiArray[index1][index2]; 10 } 11 }