Hexaware Technologies interview question

What is comparable and comparator