摘要: 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 阅读全文
posted @ 2010-04-19 15:57 0707 阅读(120) 评论(0) 推荐(0) 编辑