2019年4月11日

摘要: 1.使用new关键字 Person person=new Person(); 2.使用Class类的newInstance方法 a) Person ps=(Person) Class.forName("com.springioc.myioc.Person").newInstance(); 需要捕获C 阅读全文
posted @ 2019-04-11 11:57 一个猎手 阅读(168) 评论(0) 推荐(0) 编辑

导航