Pergunta de entrevista da empresa intive

can you explain what Injection Dependency is?

Resposta da entrevista

Sigiloso

25 de abr. de 2023

Dependency injection is used to make a class independent of its dependencies or to create a loosely coupled program. Dependency injection is useful for improving the reusability of code. Likewise, by decoupling the usage of an object, more dependencies can be replaced without needing to change class.