Pergunta de entrevista da empresa Capgemini

Explain Inversion of Control, how to implement it.

Resposta da entrevista

Sigiloso

21 de ago. de 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