10 lines
178 B
Kotlin
Vendored
10 lines
178 B
Kotlin
Vendored
class TestingUse {
|
|
fun test3(double: (a: Int) -> Int, b: Int): Int {
|
|
return double(b)
|
|
}
|
|
}
|
|
|
|
fun main() {
|
|
val num = TestingUse().test3({<caret>x -> 2*x}, 20)
|
|
}
|