据我所知,在Scala中,也可以调用函数
例如,给定以下声明,我们是否知道如何调用该函数?
宣言:
def f (x:Int, y:Int) = x;
呼叫
f (1,2) f (23+55,5) f (12+3, 44*11)
请问有什么规定?
scala
scala ×1