Pergunta de entrevista da empresa Infosys

What is Dependency Injection & Inversion of control and how are they related to Spring?