An enum class can only implement interfaces. Enums in switch case. Enums can be used in a switch-case statement, as shown below:.
確定! 回上一頁