返回参数加一,就是这样。
第二,如清单4所示,调用的方法也可以拥有返回参数。
Second, as Listing 4 shows, the invoked method can also have a return parameter.
一个聚合可以有多个参数,这就是为什么要以数组的形式返回参数。
An aggregation can have multiple parameters, which is why this is returned as an array.
PROFESSOR: And so in this case, it's using the same piece, but it's returning that middle value that says they're actually the same.
教授:那么实际在这个例子中,我们用的是同一个函数,它返回了中间的值也就是,0来表明着两个参数。
The prototype is just its return value, its name, and its arguments, if any.
原型就是他的返回值,它的名字,它的参数之类的。
Now, less than is just, if you haven't used it before, it's just the operator you'd expect, it's comparing two things and it's going to return either true or false depending on whether the first argument is false less than the second argument.
现在,小于这个符号是,如果你之前没用过它的话,它就是你期望的那个运算符,它会比较两个独享,然后基于第一个参数是不是,小于第二个参数,返回true或者。
应用推荐