Pregunta de entrevista de Accenture

Question on Spring like explain Inversion of Control and one question on Method Factory.