adspace
Answer Posted / Syed Shahid Ali
Java provides several methods for sorting arrays. One of the most common ways is using the Arrays.sort() method which sorts an array in ascending order by default. If you want to sort in descending order, you can provide a custom Comparator.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers