public class Main {
public static void main(String[] argv) throws Exception {
Class[] classParm = null;
Object[] objectParm = null;
try {
String name = "java.lang.String";
Class cl = Class.forName(name);
java.lang.reflect.Constructor co = cl.getConstructor(classParm);
System.out.println(co.newInstance(objectParm));
} catch (Exception e) {
e.printStackTrace();
}
}
}