英语词典

constructor的意思

constructor


英式读音
英式读音

  • n.(尤指汽车或飞机的)建造者

英汉释义

  • n.

    1.建造者,建设者

    2.【海】造船技师

英汉例句

  • 1.The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.

    构造函数没有参数,并且返回的类型实例中的所有属性都为空。

  • 2.Constructor, where the name of each value is converted to a string, and the ordinal setting represents a one-up value for each setting.

    构造函数中,在这里,每个值的名称都被转换成一个字符串,并且序数设置表示了每个设置的优先值。

  • 3.This version of the constructor allows you to specify the group to which an item belongs.

    此版本的构造函数允许您指定项所属的组。

  • 4.The * at the end of the CONSTRUCTOR production signifies that there can be zero or more occurrences of that production.

    CONSTRUCTOR产品尾部的*意味着该产品可以不存在,也可以存在更多。

  • 5.Unlike destructors , it is often the case that something done inside a constructor might throw an exception.

    与析构函数不同,构造函数内部所做的事情经常会抛出异常。

  • 6.The best way to make sure this doesn't happen is to initialize variables where you declare them instead of in the body of every constructor.

    确保这些不会发生的最好的方法是在声明变量的时候就初始化,而不是在每个构造函数中进行初始化。

  • 7.The programming language compiler added a default static constructor to your type and did not make it private.

    编程语言编译器已向您的类型中添加默认静态构造函数,但未将其设置为私有。

  • 8.Notice that this constructor takes the $idsadmin object as a parameter and stores it in its own $idsadmin class variable.

    注意,这个构造函数使用$idsadmin对象作为参数并将它保存在自己的$idsadmin类变量中。

  • 9.This constructor returns a value, however, which means that this value takes the place of the regular Object, which itself is thrown away.

    但是,这个构造函数返回一个值,这意味着这个值取代常规的Object,而后者将被抛弃。

  • 10.Any constructors that you define for structures must have at least one argument so that they do not conflict with the default constructor.

    为结构定义的任何构造函数都必须至少有一个参数,以便不会与默认构造函数冲突。

热门英文字典词汇


  • DIAM n. 数据独立存取模型 网络 直径;钎头直径;Dynamic Interspinous Assisted Motion
  • curtsy n. (女子行的)屈膝礼 v. 行屈膝礼 网络 屈膝行礼;拜客
  • ascent n. 上升;上坡路;登高;升高 网络 攀登;上升攀登;追溯
  • meliorative adj. 改善的
  • anthropophagi n. 食人肉的人;“anthropophagus”的复数 网络 食人族;食人者
  • drive taxi 网络 驾驶出租车
  • impedimenta n. 辎重;行囊;妨碍行进的重负(行李) 网络 障碍重重;障碍重重障碍咒;包袱
  • dizziest adj. 头晕眼花的;(高度,速度等)使人眼花缭乱的;愚蠢的 v. 使发昏 网络 头晕目眩的;晕眩的;头晕的
  • aquatic organism un. 水生生物 网络 水生物
  • en suite adj. 与卧室配套的 网络 套房;套房的;卫生间的