• The second case expression uses a wildcard for the firstName part of Person but matches against the constant string Neward in the lastName part and wildcards against the age part.

    第二case表达式PersonfirstName部分使用一个通配符lastName 部分使用常量字符串Neward匹配,在age 部分使用通配符来匹配。

    youdao

  • In Listing 4, firstname is a string that is specified at runtime.

    清单4中,firstname一个运行时指定字符串

    youdao

  • The HelloMessageApi class defines a hello_message API method that takes two string parameters, firstname and lastname, and returns a string value. The hello_message_api.rb script is shown below.

    HelloMessageApi 类将定义 hello_messageAPI方法,该方法将获取两个字符串参数,名字姓氏返回字符串值。

    youdao

  • The HelloMessageApi class defines a hello_message API method that takes two string parameters, firstname and lastname, and returns a string value. The hello_message_api.rb script is shown below.

    HelloMessageApi 类将定义 hello_messageAPI方法,该方法将获取两个字符串参数,名字姓氏返回字符串值。

    youdao

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

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

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