Solved

Assume That Names Is an Array of String Objects That

Question 91

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents