Multiple Choice
The method that must be implemented in a class using the Comparable interface is:
A) public Object compareTo(Object other)
B) public Boolean compareTo(Object other)
C) public int compareTo(Object other)
D) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: An interface can contain defined constants as
Q2: When using the clone method from an
Q4: A common use of inner classes is
Q6: A class that uses an interface must
Q8: A class that implements an interface but
Q9: The compareTo method should return _ if
Q25: What are the obligations of a class
Q26: Java source code that contains a class
Q29: What is an anonymous class?
Q30: The Serializable interface is like all the