Guest User

Untitled

a guest
Jan 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import java.util.Arrays;
  2.  
  3. public class SortExample
  4. {
  5. public static void main(String[] args)
  6. {
  7. int[] arr = {13, 2, 6, 45, 21, 9, 3, 239};
  8.  
  9. Arrays.sort(arr);
  10.  
  11. System.out.printf("Sorted arr[] : %s", Arrays.toString(arr));
  12. }
  13. }
Add Comment
Please, Sign In to add comment