-
What is the difference between dependency injection and inversion of control 2024?
IOC Dependency injection
Questioner:Lucas Harris 2023-05-05 06:09:21
The most authoritative answer in 2024
-

-
Sophia Taylor——Studied at University of Oxford, Lives in Oxford, UK
IOC (
Inversion of control) is a general parent term while DI (
Dependency injection) is a subset of
IOC.
IOC is a concept where the flow of application is inverted. ... DI provides objects that an object needs. So rather than the
dependencies construct themselves they are
injected by some external means.
read more >>
About “IOC、、Dependency injection”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.