Multiple Choice
Assume that names is an array of String objects that has been initialized with a large number of elements. Select the statement that would sort the elements in names in ascending alphabetic order.
A) Arrays.sort(names, 0, names.length - 1) ;
B) Arrays.sort(names) ;
C) Collections.sort(names, 0, names.length - 1) ;
D) Collections.sort(names) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q14: In general, the expression _ means that
Q15: A portion of your program includes the
Q16: The _ class contains a sort method
Q17: How many times can an array with
Q18: When does quicksort's worst-case run-time behavior occur?<br>I
Q20: Which of the sorts in the textbook
Q21: An algorithm that cuts the work in
Q22: The binarySearch method of the Collections class
Q23: Suppose a developer gets class XYZ files
Q24: Which of the sorts in the textbook