摘要:
Class aClass = Class.forName(xxx.xx.xx);Object anInstance = aClass.newInstance();Class.forName("").newInstance()返回的是objectbut there is some limit for this method to create instancethat is your class constructor should no contain parameters, and you should cast the instance manually.Class D 阅读全文