集册 Java 面试笔记 什么是依赖注入 - Dependency Injection?

什么是依赖注入 - Dependency Injection?

欢马劈雪     最近更新时间:2020-08-04 05:37:59

345

反转控制 Inversion of Control (IoC) 或者叫依赖注入 Dependency Injection

is a general concept, and it can be expressed in many different ways and Dependency Injection is merely one concrete example of Inversion of Control.