mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
14 lines
239 B
Kotlin
Vendored
14 lines
239 B
Kotlin
Vendored
public open class Test() {
|
|
open public fun test() : Unit {
|
|
System.out?.println(hello)
|
|
}
|
|
companion object {
|
|
private val hello : String? = "Hello"
|
|
}
|
|
}
|
|
|
|
fun box() : String {
|
|
Test().test()
|
|
return "OK"
|
|
}
|