J.P. Morgan Interview Question

Can you explain the dependency injection ?