go top

预设建构式

网络释义

  Default constructor

正因为编译器会在你没有撰写任何建构式时,自动加入预设建构式Default constructor),所以才可以在没有撰写任何建构式时,也可以如下以无引数方式呼叫建构式:

基于20个网页-相关网页

短语

预设建构函式 default constructor

有道翻译

预设建构式

Preset construction

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

双语例句

  • 使用物件初始设定建立具名别的执行个体时,呼叫类别预设建构接著按照指定顺序初始指定成员

    When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.

    youdao

  • 阵列建构成员初始设定清单中时,阵列元素预设初始化。

    When an array is in a constructor's member initialization list, the elements of the array will be default initialized.

    youdao

  • 如果类别没有任何的建构,则会自动产生预设建构预设用于初始栏位

    If a class does not have a constructor, a default constructor is automatically generated and default values are used to initialize the object fields.

    youdao

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

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

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