kotlin int array size code example
Example 1: kotlin size of array
arr = arrayOf(10, 20, 30, 40, 50)
// Use the size attribute
println(arr.size)
Example 2: kotlin array int
//type1
val nums = arrayOf(1, 2, 3, 4, 5)
println(Arrays.toString(nums))