Question: Question 2 1 pts The Comparable interface allows you to compare one object to another for sorting. Given a public class named 'Employee, write the

Question 2 1 pts The Comparable interface allows you to compare one object to another for sorting. Given a public class named 'Employee, write the class header that indicates objects of the Employee class are comparable with each other. (Do not include the opening brace for the class.) Use proper spacing per the course style guide. Do not include additional spaces at the beginning or end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
