def f(fun:String => unit) ={ fun("atguigu")}
def f(fun:String => unit) ={
fun("atguigu")
}
f((name:String) => println(name))
若有收获,就点个赞吧
0 人点赞
让时间为你证明