ประโยคภาษาจีน : 中文句子 |
---|
jī běn shang 基本上 zhǐ yào 只要 dāng 当 yí gè 一个 fāng fǎ 方法 de 的 zuì hòu 最后 yí gè 一个 cān shù 参数 shì 是 yí gè 一个 duì xiàng 对象 shù zǔ 数组 huò zhě 或者 shì 是 yí gè 一个 yǒu 有 sān gè 三个 diǎn 点 de 的 cān shù 参数 nǐ 你 jiù 就 kě yǐ 可以 xiàng 向 zhè ge 这个 fāng fǎ 方法 chuán rù 传入 duō chóng 多重 cān shù 参数 |
Basically, whenever the last argument of a method is an array of objects, or a parameter declaration with a triple dot, you can pass multiple parameters to this method. |