fun main() { val list = listOf(1, 2, 3) val arr = intArrayOf(4, 5, 6) println("${list.size} ${arr.sum()} ${list[0]}") }
listOf and typed arrays