Frage im Vorstellungsgespräch bei Infosys

Difference between XML and Annotation based configuration?