Solved

Assume That Names Is an Array of String Objects That

Question 13

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) Collections.sort(names) ;
B) Arrays.sort(names, 0, names.length - 1) ;
C) Arrays.sort(names) ;
D) Collections.sort(names, 0, names.length - 1) ;

Correct Answer:

verifed

Verified

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

Related Questions