Here you can find the source of newInstance(Class> componentType, int... dimensions)
public static Object newInstance(Class<?> componentType, int... dimensions)
//package com.java2s; //License from project: Apache License import java.lang.reflect.Array; public class Main { public static Object newInstance(Class<?> componentType, int... dimensions) { return Array.newInstance(componentType, dimensions); }/*from www . java 2s . c o m*/ }