Creating an Array: An array of 10 ints.
import java.lang.reflect.Array; public class Main { public static void main(String[] argv) throws Exception { int[] ints = (int[]) Array.newInstance(int.class, 10); } }