• 下面这段虚构的代码展示了如何使用Scala语言语法定义这些语法与C#的命名空间语法以及Ruby使用模块作为命名空间的语法相似。

    The next example shows a contrived example that defines packages using the nested package syntax in Scala, which is similar to the namespace syntax in C# and the use of modules as namespaces in Ruby.

    youdao

  • 下面这段虚构的代码展示了如何使用Scala语言语法定义这些语法与C#的命名空间语法以及Ruby使用模块作为命名空间的语法相似。

    The next example shows a contrived example that defines packages using the nested package syntax in Scala, which is similar to the namespace syntax in C# and the use of modules as namespaces in Ruby.

    youdao

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

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

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