Multiple Choice
To compare String objects for the purpose of sorting,a programmer should
A) use the comparison operator <
B) use the comparison operator < =
C) use the compareTo method of the Comparable interface
D) use the relational operator < to compare references to the String objects
Correct Answer:

Verified
Correct Answer:
Verified
Q21: A computational problem is<br>A) a problem that
Q22: A contiguous segment of an array is
Q23: The two criteria most often used to
Q24: Consider the code<br>Static void doQuickSort(int array[ ],int
Q25: Assuming a method<br>Int findMax(int array[ ],int last)that
Q27: The method int getPosition(int array[],int X)is designed
Q28: On the average,performing a sequential search on
Q29: The best way to measure the goodness
Q30: A search for an item X in
Q31: The addition of two integers<br>A) is always