13 lines
168 B
Kotlin
13 lines
168 B
Kotlin
package foo
|
|
|
|
class A() {
|
|
|
|
fun plus() = "hooray"
|
|
fun minus() = "not really"
|
|
|
|
}
|
|
|
|
fun box(): Boolean {
|
|
var c = A()
|
|
return (+c + -c == "hooraynot really")
|
|
} |