Modify Time (Exercise 3.3.21) so that it implements the Comparable interface (comparing the times chronologically).
EXERCISE 3.3.21
Time. Develop a data type for the time of day. Provide client methods that return the current hour, minute, and second, as well as toString(), equals(), and hashCodeOmethods. Develop two implementations: one that keeps the time as a single i nt value (number of seconds since midnight) and another that keeps three int values, one each for seconds, minutes, and hours.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.