A

Admin • 828.03K Points
Coach

Q. How to sort an array?

  • (A) System.sort()
  • (B) Collection.sort()
  • (C) Arrays.sort()
  • (D) Array.sort()
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
The Arrays class contains various methods of manipulating arrays (such as sorting, searching, etc.). Array is not a valid class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.