Multiple Choice
The compareTo method should return _____________ if the calling object equals the parameter.
A) A negative number
B) Zero
C) A positive number
D) Null
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: The compiler and the run-time system enforces
Q7: An inner class definition is local to
Q8: An interface may contain:<br>A)instance variables<br>B)primitive variables<br>C)constant variables<br>D)all
Q9: A class that uses an interface must
Q10: A class that implements an interface but
Q12: Java interfaces are a way of simulating
Q13: A common use of inner classes is
Q14: In Java,a derived class can have _
Q15: What are the semantics of the Comparable
Q16: A Java interface is an example of:<br>A)encapsulation<br>B)abstraction<br>C)polymorphism<br>D)all