mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
21 lines
271 B
Kotlin
Vendored
21 lines
271 B
Kotlin
Vendored
class Klass {
|
|
companion object {
|
|
val NAME = "Klass"
|
|
}
|
|
}
|
|
|
|
interface Trait {
|
|
companion object {
|
|
const val NAME = "Trait"
|
|
}
|
|
}
|
|
|
|
enum class Enoom {
|
|
;
|
|
companion object {
|
|
const val NAME = "Enum"
|
|
}
|
|
}
|
|
|
|
fun box() = Test().test()
|