单词查询

constructors

美[kən'strʌktər],英[kən'strʌktə(r)],

释义

n. 建设者;【海】造船技师; 网络释义: 构造函数;构造器;建造者;

例句

However, it is often useful to provide additional constructors.
Writing constructors is often a repetitive task.
The compiler will also verify that this method is called from user defined constructors and report a warning or error it is not.
方法。编译器还将验证方法是否是从用户定义的构造函数调用的,如果不是,则报告一个警告或错误。
Indexed properties, methods, and constructors are allowed to be overloaded; fields and events must not be overloaded.
允许重载索引属性、方法和构造函数;不能重载字段和事件。
Defining the reasonable set of constructors is often the simplest approach.
通过定义合理的构造器集合通常是最简单的途径。
Any constructors that you define for structures must have at least one argument so that they do not conflict with the default constructor.
为结构定义的任何构造函数都必须至少有一个参数,以便不会与默认构造函数冲突。
Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read.
构造函数使得程序员可设置默认值、限制实例化以及编写灵活且便于阅读的代码。
Building constructors in Ji Nan and Qingdao have found our product easy to install and very attractive in appearance.
济南与青岛的建筑商,大多认为我公司产品易于安装,且外观颇具吸引力。
Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.
Traits不支持辅助构造函数,它们也不支持在主构造函数,trait的主体里的参数列表。
This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.
这个行为在DI世界中称作构造函数注入,因为实例是通过一个构造函数传递的。