Answers for "how to define array size in kotlin"

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

Code answers related to "how to define array size in kotlin"

Browse Popular Code Answers by Language