mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
12 lines
253 B
Kotlin
Vendored
12 lines
253 B
Kotlin
Vendored
interface KotlinInterface {
|
|
companion object {
|
|
const val FOO_INT: Int = 10
|
|
const val FOO_STRING: String = "OK"
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
val test = JavaClass().test()
|
|
return if (test == "OK10") "OK" else "fail : $test"
|
|
}
|