Multiple Choice
The Comparable interface contains which of the following methods?
A) isGreaterThan
B) isLessThan
C) equals
D) compareTo
E) all of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: What is polymorphism?
Q29: If a class implements an interface, it
Q30: Why can't an interface be instantiated?
Q31: Let Animal be an interface. Then it
Q33: Can references to interface types be polymorphic?
Q35: A polymorphic reference is one that can
Q36: Give an example of a class that
Q37: How does inheritance relate to polymorphism in
Q38: A single class may implement multiple interfaces.
Q39: Let Object a be larger than Object