• A good analogy for a constructor method is a building contractor, who takes the blueprints for your house and builds it.

    构造函数方法好比建筑承包人,它利用房子的设计图建房子。

    youdao

  • Another way of building an array in a single operation is by using a constructor by query, which creates an array with the values returned by a single-column sub-select, as shown in the listing below.

    在单一操作中构建阵列的另一种方式是使用通过查询的构造函数,其创建具有由单列子选择返回的值的阵列,如以下清单所示。

    youdao

  • Maybe you're building a framework and need to make sure that all of the classes in a package have a zero-arg constructor or that all fields prefixed with an underscore have a getter but not a setter.

    也许您正在构建一个框架,并且需要保证包中的所有类都有零参数的构造函数、或者所有带下划线前缀的字段都有getter而没有setter。

    youdao

  • Maybe you're building a framework and need to make sure that all of the classes in a package have a zero-arg constructor or that all fields prefixed with an underscore have a getter but not a setter.

    也许您正在构建一个框架,并且需要保证包中的所有类都有零参数的构造函数、或者所有带下划线前缀的字段都有getter而没有setter。

    youdao

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

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

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