Home » JAVA Programming » Arrays » Question
  1. How to sort an array?
    1. Arrays.sort()
    2. Array.sort()
    3. Collection.sort()
    4. System.sort()
    5. None of these
Correct Option: A

Arrays class contains various methods for manipulating arrays (such as sorting and searching). Array is not a valid class.



Your comments will be displayed only after manual approval.