mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
6 lines
171 B
Kotlin
6 lines
171 B
Kotlin
fun box(): String {
|
|
val class1 = getWrapped1().getClass()
|
|
val class2 = getWrapped2().getClass()
|
|
|
|
return if (class1 != class2) "OK" else "Same class: $class1"
|
|
} |