1、继承
2、依赖
3、引用
bean的作用范围
默认是单例,即spring只创建一个实例。
bean的继承,多态,引用
原文:https://www.cnblogs.com/minconding/p/9943580.html