Pergunta de entrevista da empresa Genetec

If I understand Dependency Injection

Respostas da entrevista

Sigiloso

19 de out. de 2018

Somewhat.

Sigiloso

30 de jul. de 2020

Major method to make the connection between classes more looser. I take Interface injection as an example. An instance of class B has to be used in class A. Instead of creating the instance of class B directly, we can instantiate an instance of interface inherited by class B.