mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
16 lines
208 B
Kotlin
Vendored
16 lines
208 B
Kotlin
Vendored
class A() {
|
|
|
|
override fun toString(): String {
|
|
return "A"
|
|
}
|
|
}
|
|
|
|
|
|
fun box() : String {
|
|
|
|
val s = "1" + "2" + 3 + 4L + 5.0 + 6F + '7' + A()
|
|
|
|
return "OK"
|
|
}
|
|
|
|
// 1 NEW java/lang/StringBuilder |