java反射技术中的newInstance方法的使用

Class.forName(className).newInstance()
需要类有一个默认的构造方法
posted @ 2012-08-14 09:30  xzf007  阅读(360)  评论(0)    收藏  举报