Java Class New Instance newInstance(Class componentType, int... dimensions)

Here you can find the source of newInstance(Class componentType, int... dimensions)

Description

new Instance

License

Apache License

Declaration

public static Object newInstance(Class<?> componentType, int... dimensions) 

Method Source Code


//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*/
}

Related

  1. newInstance(Class clazz, Object... args)
  2. newInstance(Class cls)
  3. newInstance(Class cls)
  4. newInstance(Class cls)
  5. newInstance(Class cls, Map, Constructor> cache)
  6. newInstance(Class entity)
  7. newInstance(Class theClass, Class expected)
  8. newInstance(Class interfaceDefinition, String className, ClassLoader classLoader)
  9. newInstance(Class aClass, Object... args)