Sollicitatievraag bij Capgemini

Explain Inversion of Control, how to implement it.

Antwoord op sollicitatievraag

Anoniem

21 aug 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