go top

网络释义专业释义

  Constructor

Constructor构造函数):由CLR自动调用的方法,用于始化一个类型新的实例。构造函数在结构上只是方法,其方法名总是.ctor。

基于6735个网页-相关网页

  constructor function

1、构造函数constructor function) 是一种特殊的类成员函数,当类创建对象时,首先会自动执行类的构造 函数,当我们在声明一个对象的同时,可能想直接设置该对象的...

基于250个网页-相关网页

  ctor

...看到底这个“类型初始化器”到底干了些什么?老规矩,我们看看IL代码。 从IL上可以看出,两个nop之间,我们调用了构造函数(ctor),并且先后调用了set_Name,set_Age方法,所以本质上来说, “类型初始化器”只是一个语法糖,跟我们手工在构造函数中初始化一样...

基于54个网页-相关网页

  override

... public {定义公共方法} constructor Create(AOwner: TComponent);override; {构造函数} procedure BeginSizing; {移动前初始化} ...

基于52个网页-相关网页

短语

缺省构造函数 default constructor

拷贝构造函数 copy constructor ; String ; copy ctor ; StringString

默认构造函数 default constructor

普通构造函数 String ; public string

复制构造函数 copy constructor ; String

构造函数初始值设定项 constructor initializer

构造函数、构造器 constructor

构造函数本体上移 Pull Up Constructor Body

实例构造函数 Instance Constructors

 更多收起网络短语
  • the construction function - 引用次数:1

    参考来源 - 构造函数与析构函数浅析
    constructed function - 引用次数:1

    参考来源 - 基于遗传算法的微分方程求解问题的研究
    constructor
  • constructed function - 引用次数:1

    参考来源 - 基于遗传算法的微分方程求解问题的研究
    constructor functions

·2,447,543篇论文数据,部分数据来源于NoteExpress

新汉英大辞典

构造函数

  • constructed function
以上来源于:《新汉英大辞典》

双语例句原声例句

  • 它们通过构造函数初始化

    They can only be initialized through the constructor.

    youdao

  • 执行构造函数剩余部分

    Executes the rest of the constructor.

    youdao

  • 提供构造函数

    Provide a constructor.

    youdao

更多双语例句
  • What is this? This is a wonderful piece of abstraction. It is saying, you don't need to know squat about what's inside the body of this function. You don't have to worry about the parameter names, because they're going to be preserved, you don't need to worry about how I'm doing it, this tells you how you can use this, in order to use it correctly. Of course, I can then close it off, and off we go.

    但是这能告诉你一些信息,这是什么?,这是一段完美的抽象,它的意思是你不需要知道,这个函数的内部构造,你不必担心参数是否重名,因为它们已经被预存了,你不需要担心我如何使用它,它告诉了你你该如何操作,从而正确的使用它,当然我也可以把它关掉。

    麻省理工公开课 - 计算机科学及编程导论课程节选

百科

构造函数

构造函数,是一种特殊的方法。主要用来在创建对象时初始化对象, 即为对象成员变量赋初始值,总与new运算符一起使用在创建对象的语句中。特别的一个类可以有多个构造函数,可根据其参数个数的不同或参数类型的不同来区分它们 即构造函数的重载。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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