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