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