Pregunta de entrevista de Infosys

Difference between Comparable and Comparator in Java