Solved

Assume That Names Is an Array of String Objects That

Question 19

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions