摘要:
创建对象的三种方式1,构造器(无参构造器,有参构造器) public class App01 { @Test public void test01() { ApplicationContext context = new ClassPathXmlApplicationContext("applica 阅读全文
posted @ 2019-12-17 19:13
白白3535
阅读(232)
评论(0)
推荐(0)
摘要:
获取容器的三种方式 * 1 ClassPathXmlApplicationContext:默认去类路径下【src】加载该配置文件 ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.x 阅读全文
posted @ 2019-12-17 08:57
白白3535
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号