Answers for "kotlin variable length array"

2

length of array kotlin

arr.size
Posted by: Guest on October-11-2021
1

kotlin size of array

arr = arrayOf(10, 20, 30, 40, 50)

// Use the size attribute
println(arr.size)
Posted by: Guest on October-29-2020

Browse Popular Code Answers by Language