Enum classes in Kotlin have synthetic methods for listing the defined enum constants and getting an enum constant by its name. ordinal() method returns the ...
確定! 回上一頁