SHARE
TWEET

Untitled

a guest Oct 18th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.util.Arrays
  2.  
  3. fun main(args: Array<String>) {
  4.    val num = intArrayOf(1, 3, 2, 6, 8)
  5.    println(Arrays.toString(num.sortedArray()))
  6.    println(Arrays.toString(num.sortedArrayDescending()))
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top