导航菜单

constructor是什么意思_翻译中文_怎么读

constructor

美式发音: [kənˈstrʌktər] 英式发音: [kənˈstrʌktə(r)]

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

复数:constructors  constructorn.

1.(尤指汽车或飞机的)建造者,制造者,建造商a person or company that builds things, especially cars or aircraft

n.1.建造者,建设者2.【海】造船技师

n.1.a company or person that builds things, especially racing cars

例句释义:,建造者

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.Unpke 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 initiapze 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 confpct with the default constructor.为结构定义的任何构造函数都必须至少有一个参数,以便不会与默认构造函数冲突。