Kotlin - Collections Fundamentals
What will be the output of the following Kotlin code?
val arr = arrayOf(10, 20, 30) println(arr[1])
val arr = arrayOf(10, 20, 30) println(arr[1])
arr[0] is 10, arr[1] is 20, and arr[2] is 30.arr[1], which is 20.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions