go top

预设建构函式

网络释义

  default constructor

即使我们未替類 别设计任何的建构函式, 编译器仍会为類别定 义一个预设建构函式(Default Constructor), 也就是不需传递任何參數即可呼叫的建构函式 , 例如: 9 预设建构函式 10 预设建构函式 当我们宣告新的物件时, 这个预设建构函...

基于66个网页-相关网页

有道翻译

预设建构函式

The default constructor

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

双语例句

  • 请注意原始程序码没有预设建构函式

    Notice that there is no default constructor in the source code.

    youdao

  • 建构宣告防止自动产生预设建构函式

    The declaration of the empty constructor prevents the automatic generation of a default constructor.

    youdao

  • 否则项目可以透过公用预设建构函式自动建立

    Otherwise, the new item is automatically created through its public default constructor.

    youdao

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

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

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