Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Arrays;
- public class SortExample
- {
- public static void main(String[] args)
- {
- int[] arr = {13, 2, 6, 45, 21, 9, 3, 239};
- Arrays.sort(arr);
- System.out.printf("Sorted arr[] : %s", Arrays.toString(arr));
- }
- }
Add Comment
Please, Sign In to add comment