摘要: ###1.构造器注入 <bean id="student" class="com.ultraBlast.pojo.Student"> <!--第一种注入方式:普通值注入,直接使用value--> <property name="name" value="UB"/> </bean> ###2.Set注 阅读全文
posted @ 2021-03-31 21:07 UltraBlast 阅读(43) 评论(0) 推荐(0)