Hexaware Technologies Interview Question

What is comparable and comparator