Two, the arguments or parameters, and three, is the return value.
第二个,参数和参量,还有三,是那个返回值。
They must be private, cannot return a value, and cannot have out parameters.
它们必须是私有的,不能返回值,不能有输出参数。
You can even change the parameters and return types.
甚至可以更改参数和返回类型。
Each method has a name, a number of parameters, and a return value.
每个方法有一个名字、若干参数和一个返回值。
This determines which parameters you need to pass in and what the return should be.
这将确定需要传送的参数和应该返回的数据。
Notice how weight is defined to take no parameters and return Int?
注意查看如何定义weight使其不带有任何参数并返回Int。
It has only the declaration of its parameters and return value.
只有它的参数和返回值声明。
The procedure can return data through output parameters.
过程可以通过输出参数返回数据。
For a method with multiple parameters and a return type, this is a big gain.
对于一个有多参数,一个返回类型的方法来说这种方式会好很多。
This applies also to that procedure's parameters and to any function return.
这同样适用于过程的参数和任何函数返回值。
Parameters for the two data, and return to answer the result (of 1, 0 wrong).
参数为两个数据,返回解答结果(对为1,错为0)。
Method parameters may also have a return value.
方法有参数,也可能有返回值。
Several parameters can return to their different data.
可以根据若干参数返回其不同的数据。
The bound method should neither take parameters nor return a value.
系结方法不应使用参数,也不应传回值。
You need to take care of the parameters and the return value at least.
你需要照顾至少参数和返回值。
You need to take care of the parameters and the return value at least.
你需要照顾至少参数和返回值。
应用推荐