Pregunta de entrevista de Genetec

If I understand Dependency Injection

Respuestas de entrevistas

Anónimo

19 oct 2018

Somewhat.

Anónimo

30 jul 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.