Kotlin Enum Simple enum


Example

enum class Color {
  RED, GREEN, BLUE
}

Each enum constant is an object. Enum constants are separated with commas.