Pregunta de entrevista de Transamerica

How does dependency injection work in Spring?