See Kotlin - Basic Types for details. You can also provide an initializer function as a second parameter: val numbers = IntArray(5) { 10 * ( ...
確定! 回上一頁