Classes in Kotlin can have type parameters, just like in Java: class Box<T>(t: T) { var value = t }. Copied! ... Kotlin doesn't have these.
確定! 回上一頁