摘要:
我们有一下两个类,并且Gradate类继承了Student类 public class Student public class Gradate extends Student 在applicationContext.xml文件中体现继承配置 阅读全文
摘要:
集合注入重要是对数组、List、Set、map的注入,具体注入方法请参照一下代码(重点是applicationContext.xml中对这几个集合注入的方式): 1.在工程中新建一个Department类,该类包含在com.LHB.collection包当中 2.继续在包中创建Employee类 3 阅读全文