• Constructor functions (also called constructors) provide the ability to design and implement your own prototype-based objects.

    构造函数提供了一种能力,使用户能设计和实现自己的基于原型的对象。

    youdao

  • We’ll see how to define auxiliary constructors in the section called “Constructors in Scala” in Chapter 5, Basic Object-Oriented Programming in Scala.

    在《第5章 -Scala 的基本面向对象编程》的“Scala 的构造函数”章节中,我们会看到如何定义辅助的构造函数。

    youdao

  • We’ll see how to define auxiliary constructors in the section called “Constructors in Scala” in Chapter 5, Basic Object-Oriented Programming in Scala.

    在《第5章 -Scala 的基本面向对象编程》的“Scala 的构造函数”章节中,我们会看到如何定义辅助的构造函数。

    youdao

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

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

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