MCQs > IT & Programming > Java > You have an ArrayList of names that you want to sort alphabetically. Which approach would NOT work?

Java MCQs

You have an ArrayList of names that you want to sort alphabetically. Which approach would NOT work?

Answer

Correct Answer: Names.sort(List.DESCENDING)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it