The Kotlin equivalent of that could would be this: val miArreglo = Array(20) { Medico() } But I would strongly advice you to using Lists in Kotlin because ...
確定! 回上一頁