Amdocs interview question

Difference in comparable and comparator?