• 但是请注意复制的语法包含方法名称括号因此必须记得参数或者必须返回内容帮助reference面板

    Note, however, that copied syntax contains only the method name followed by empty parentheses, so you must remember the parameters or return to content assist or the reference pane.

    youdao

  • 一对括号指明调用参数effectFinished()方法

    The first empty pair of parentheses denotes that I want to call the method named effectFinished() that takes no arguments.

    youdao

  • 括号的,表示这种方法不包含任何参数

    The parentheses are empty, which indicates that the method takes no arguments.

    youdao

  • 调用没有参数Groovy方法时,您必须使用一对括号调用使得Groovy可以分清一个属性访问一个方法调用之间的区别。

    When you invoke a Groovy method that has no parameters, you must call it with an empty set of parentheses, which allows Groovy to distinguish between a property access from a method call.

    youdao

  • Groovy不同,Ruby没有针对接收不到参数方法必须括号一起调用规则,这意味着Ruby无需区分属性方法

    Unlike Groovy, Ruby doesn't have the rule that methods accepting no parameters must be called with empty parenthesis, meaning that Ruby doesn't need to distinguish between properties and methods.

    youdao

  • 调用没有参数方法确保方法名之后加入括号

    When invoking a method without parameters, be sure to add empty parentheses after the method-name.

    youdao

  • 调用没有参数方法确保方法名之后加入括号

    When invoking a method without parameters, be sure to add empty parentheses after the method-name.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定