If the names of the two customers are the same, then the customers are ordered by ID number. Method compareCustomer should return a positive integer if this customer is greater than other, a negative integer if this customer is less than other, and 0 if they are the same.

a) compareCustomers(Customer other)
b) orderCustomers(Customer other)
c) sortCustomers(Customer other)
d) rankCustomers(Customer other)

Q&A Education