go top

primary constructor

网络释义

  构造函数

最近从特性列表中被砍掉的特性包括主要构造函数primary constructor)和声明表达式(declaration expression)。作者Jonathan Allen。

基于18个网页-相关网页

  声明的字段其读写属性是如何规定的

... FOR循环 Primary Constructor声明的字段其读写属性是如何规定的 Object对象 ...

基于1个网页-相关网页

有道翻译

primary constructor

主构造函数

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • It calls the primary constructor with Nil (which represents an empty List object).

    调用构造函数并且传入Nil (Nil表示了一个List对象)。

    youdao

  • Scala distinguishes between a primary constructor and zero or more auxiliary constructors.

    Scala可以区分构造函数0个多个辅助构造函数。

    youdao

  • Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.

    Traits支持辅助构造函数,它们也不支持构造函数,trait主体里参数列表

    youdao

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

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

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