Pregunta de entrevista de Infosys

Difference between XML and Annotation based configuration?