Domanda di colloquio di Capgemini

Explain Inversion of Control, how to implement it.

Risposta di colloquio

Anonimo

21 ago 2017

Inversion of Control or Dependency Injection is a pattern which eliminates dependencies from a class. Dependencies are injected into the dependant class instead of instantiation inside the class which makes it loosely coupled with dependencies and the client that use this class has the control on which implementation of dependencies to be injected.

8