Vodafone Interview Question

Do you know what is dependency Injection?

Interview Answer

Anonymous

Feb 27, 2022

By using dependency injection, we decouple dependency of module/class/service to each other. We can create a collection of modules and provide the instance of module to any modules without having them tightly coupled to each other.