Infosys Interview Question

Difference between XML and Annotation based configuration?