Java 动态编译 (三)

2014-11-24 10:29:13 · 作者: · 浏览: 3
gtai.hello.Hello");
Method method = classl.getDeclaredMethod("main", String[].class);
String[] argsl = {null};
method.invoke(classl.newInstance(), argsl);

}
}