AlexanderZ.Tang

Life's not out to get you.

Spring基础:自动装配

Java自动装配 当我们的类中存在其他类的成员的时候,可以使用自动装配来自动进行实例化: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package org.alextang.entity.student; import org.alextang.entity.teacher.Teacher; public class Student { private Teacher
0%