10 lines
165 B
Kotlin
10 lines
165 B
Kotlin
enum Color : Runnable {
|
|
WHITE
|
|
BLACK
|
|
RED
|
|
YELLOW
|
|
BLUE
|
|
override public fun run() : Unit {
|
|
System.`out`?.println(("name()=" + name() + ", toString()=" + toString()))
|
|
}
|
|
} |