Kotlin offers the possibility to assign enumeration values to an enumeration type: enum class Currency(val symbol: String) { DOLLAR("$"), ...
確定! 回上一頁