2020-10-24 KOTLIN. 我試過了,但程式碼沒有編譯。 class GenericClass<T>() { private var arr : Array<T>? = null { arr = Array<T>(10, { null }) } } ...
確定! 回上一頁