fun test() {} class Runoob {} kotlin源文件不需要相匹配的目录和包,源文件可以放在任何文件 ... Int) -> Int = {x,y -> x+y} println(sumLambda(1,2)) // 输出3 } ...
確定! 回上一頁