MCQs > IT & Programming > Java > What is the easiest and fastest way to sort the following string array? String[] myString = {'cat','lion', 'dog', 'mouse'}

Java MCQs

What is the easiest and fastest way to sort the following string array?
String[] myString = {"cat","lion", "dog", "mouse"}

Answer

Correct Answer: Collections.Sort(myString);

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

More Java MCQ Questions

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it