Creating an Array: A 10x20 2-dimensional int array.
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 }); } }