go top

主构造-辅助构造

网络释义

  class

... while-99表-买鸡问题-for守卫条件-推导式 class-主构造-辅助构造 object对象 ...

基于1个网页-相关网页

有道翻译

主构造-辅助构造

Main structure - auxiliary structure

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

双语例句

  • 子类构造函数必须调用一个构造函数,无论是主构造函数或者辅助构造函数。

    The primary constructor in a derived class must invoke one of the parent class constructors, either the primary constructor or an auxiliary constructor.

    youdao

  • 被调用构造函数可以另外一个辅助构造函数或者构造函数,而且必须出现辅助构造函数体的一句

    The constructor invoked may be either another auxiliary constructor or the primary constructor, and it must be the first statement in the auxiliary constructor's body.

    youdao

  • 因为所有辅助构造函数最终都会调用构造函数,它进行逻辑检查其它初始化工作会所有实例被创建的时候执行

    Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.

    youdao

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

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

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