11 lines
230 B
Plaintext
Vendored
11 lines
230 B
Plaintext
Vendored
class TestingUse {
|
|
fun test4(printNum: (a: Int, b: String) -> Unit, c: Int): Int {
|
|
printNum(c, "This number is")
|
|
return c
|
|
}
|
|
}
|
|
|
|
fun main() {
|
|
val num = TestingUse().test4({ x: Int, str: String -> }, 5)
|
|
}
|