摘要:
- 方法1:通过类对象调用newInstance()方法,例如:String.class.newInstance()- 方法2:通过类对象的getConstructor()或getDeclaredConstructor()方法获得构造器(Constructor)对象并调用其newInstance() 阅读全文
posted @ 2019-05-20 21:46
bupt_liqi
阅读(5311)
评论(0)
推荐(0)

浙公网安备 33010602011771号