SHARE
TWEET

Untitled

a guest Oct 18th, 2019 79 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.    var num = (3..7).toList().toTypedArray()
  5.    num.set(1, 9)
  6.    println(Arrays.toString(num))
  7. }
  8.  
  9. => [3, 9, 5, 6, 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