Java tutorial
import java.lang.reflect.Array; public class Main { public static void main(String[] argv) throws Exception { int[][] ints2 = (int[][]) Array.newInstance(int.class, new int[] { 10, 20 }); } }