Translation of constructor from English into Chinese
Noun
builder role
person or thing that builds something- The constructor of the bridge was praised for his work.桥梁的建造者因其工作而受到赞扬。
technology
- The constructor sets the initial values for the object.构造函数设置对象的初始值。
Synonyms and analogies of constructor in English
Examples of constructor in a sentence
As a constructor, she specializes in residential buildings. A constructor is called when an object is created. The programmer wrote a constructor for the new class.
Translations of "constructor" in Context ordered by category and frequency
Construction of entity type instances must use object initializer with default constructor.
构造实体类型实例必须将对象初始值与默认构造函数配合使用。
So the covariant rule is also not safe-the array constructor should be invariant.
因此协变规则也不是安全的-数组构造器应该是不变 。
The constructor is an unusual type of method because it has no return value.
构建器属于一种较特殊的方法类型,因为它没有返回值。
Our city hired a constructor to build the new library downtown.
我们市里聘请了一家施工单位来建设市中心的新图书馆。
The following is a simple class without a constructor
下面是一个没有构造方法的简单类:
A good constructor always checks the materials before starting work.
好的施工方在开工前一定会仔细检查所有材料。
Other translations for constructor:
- 施工人员
- 承造人
constructor: Examples and translations in context
The type specified does not contain a constructor with a single string input.
指定的类型未包含具有单独字符串输入的构造函数。
Pass a valid endpoint name to the service client constructor.
将有效的终结点名称传递到服务客户端构造函数。
List used in a constructor to specify initial values for data members.
在构造函数中用于为数据成员指定初值的表。
We can use constructor functions to make multiple similar objects.
我们可以使用构造函数来创建多个类似的对象。
Then I need to create another constructor that accepts positional arguments.
那么我需要创建另外一个接收 位置参数 的构造函数。
The input workflow type must define a public, parameterless constructor.
输入工作流类型必须定义一个公共的无参数构造函数。
The permission associated with this attribute is missing a required constructor.
与此特性关联的权限缺少必需的构造函数。
Class binary constructor expects argument to have type int or str.
类二进制构造函数要求变量类型为整数或字符串。
See also: