我們先寫一個函數被正常調用的代碼 fun main(args: Array<String>) { val a = 1 val b = 2 a.calculate(b) { x, y -> val c = x + y println(c) c } } fun ...
確定! 回上一頁