Multiple Choice
Comparator method compare should return ________ if the first argument is greater than the second argument.
A) a positive int value.
B) zero.
C) a negative int value.
D) a String.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q9: Which of the following performs an unboxing
Q10: Collections method sort that accepts a List
Q11: Which statement is false?<br>A) SortedSet extends Set.<br>B)
Q12: A(n)_ allows a program to walk through
Q13: LinkedList method listIterator returns a(n) _.<br>A) Iterator.<br>B)
Q15: PriorityQueue method _ inserts an element at
Q16: Which of these is not an example
Q17: Method shuffle is a member of _.<br>A)
Q18: _ methods enable a program to view
Q19: Which statement is false?<br>A) Queue is a