V

Vikash Gupta • 33.56K Points
Instructor I

Q. What is the purpose of the Arrays.sort() method in Java?

  • (A) To find the maximum element in an array.
  • (B) To search for an element in an array.
  • (C) To sort the elements of an array.
  • (D) To reverse the elements of an array.
  • Correct Answer - Option(C)
  • Views: 28
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics