new 和SpringContext创建对象的区别 使用new创建对象,会增加程序耦合度,不利于程序代码修改。使用springcontext的getbean()方法采用依赖注入的方式创建对象,降低程序耦合度