Pregunta de entrevista de Cornerstone OnDemand

How does dependency injection work?