Question: When a class uses the Comparable interface, which method must be implemented? compare ( ) instanceOf equals ( ) compareTo ( )
Step by Step Solution
There are 3 Steps involved in it
When a class uses the Comparable interface the compareTo method must be im... View full answer
Get step-by-step solutions from verified subject matter experts
