kotlin length of an array code example
Example: kotlin size of array
arr = arrayOf(10, 20, 30, 40, 50)
// Use the size attribute
println(arr.size)
arr = arrayOf(10, 20, 30, 40, 50)
// Use the size attribute
println(arr.size)