What is the translation of " 的构造函数 " in English? S

Noun
constructor
构造函数
构造器
一个构造函数
车队
一个constructor
constructors
构造函数
构造器
一个构造函数
车队
一个constructor

Examples of using 的构造函数 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
默认的构造函数是自动定义的,且不能被改变。
The default constructor is automatically defined and cannot be changed.
ES2015为我们带来了class语法,包括声明的构造函数和方法:.
ES2015 brings us class syntax, including declared constructors and methods:.
在C++03中,构造函数不能调用其它的构造函数;.
In standard C++, constructors are not allowed to call other constructors;
始终存在可能有也可能没有参数主要构造函数
There are always primary constructors that may or may not have parameters.
这个类的构造函数变成私有的。
The constructor of this class becomes private.
或者调用RegExp对象的构造函数,如下所示:.
Or calling the constructor function of the RegExp object, as follows:.
最后,Dog的构造函数完成,输出“Three”。
Finally the constructor for Dog completes and outputs"Three".
而关于FutureTask的构造函数如下:.
The constructor for Futuretask is as follows:.
的构造函数不能被继承。
Constructor functions cannot be inherited.
类似地考量同样适用于对象的构造函数
A similar consideration applies to object constructor functions.
在这个特殊的例子里,你可以直接调用LineBorder的构造函数,但是在使用Factory模式的许多实例中,你不能这样。
In this particular example,you can directly call the LineBorder constructor, but in many cases of using the Factory pattern, you can't.
它提供了一些必要的改进,例如类可见性、合适的构造函数和解构函数、输入提示和类反射(class-reflection)API。
It added several needed improvements, such as class visibility,proper constructors and destructors, type hinting, and a class-reflection API.
在我的构造函数中,我们可以做到什么我们想要的与来源,只要我们留下它一些有效状态:.
Inside that constructor we can do anything we want with the source, as long as we leave it in some valid state:.
默认的构造函数通常是下面的形式publicC():base(){}这里C是类的名称。
The default constructor is always of the form public C(): base(){} where C is the name of the class.
绝大多数编程语言的构造函数必须都返回一个新的类实例。
Constructors in most programming languages have to return new class instances.
Dog的构造函数调用Mammal中的ears方法,因此输出“Two”。
The constructor for Dog calls the ears method in Mammal and thus"Two" is output.
当前,隐式定义的构造函数不能自动指定为constexpr,即使构造函数已经满足所有必要条件,因此:.
Currently, implicitly-defined constructors aren't automatically specified as constexpr even when they would fulfill all the requirements to be so:.
车辆合约的构造函数接收三个属性:model,make和vin,后者可用于识别特定车辆。
The vehicle contract's constructor receives three properties: model, make, and vin, the latter of which can be used to identify that particular vehicle.
构造函数:如果可能,应该在所有的构造函数中初始化所有的数据成员。
Initialise all member data in all constructors, if possible.
如果你的类没有明确的超类,那么它有一个隐含的Object的超类,它有一个无参数的构造函数
If your class has no explicit superclass, then it has an implicit superclass of Object,which does have a no-argument constructor.
仅提供静态工厂方法的主要缺点是没有公共或受保护的构造函数的类不能被子类化。
Providing only static factory methods makes it impossible to subclass classes without public orprotected constructors.
如你所知,在C++中,当你声明了任何的构造函数,编译器就不会为你生成默认的构造函数
As you know, in C++ when you declare any constructor, the compiler will no longer generate the default constructor for you.
派生类只能继承其基类所有构造函数,无法只继承特定基础构造函数
A deriving class can only inherit all the constructors of its base class, there is no way to inherit only specific base constructors.
继承意味着一个类隐式地包含其基类的所有成员,但基类的构造函数除外。
Inheritance means that a classimplicitly contains all members of its base class, except for the constructors of the base class.
这些步骤或是会产生一个编译时错误,或是确定一个可以在运行时调用的T的构造函数
These steps either result in a compile-time error, or determine a constructor on T that can be invoked at run-time.
用C++的说法,~GCRoot是GCRoot的析构函数,所以我们可能想找到GCRoot的构造函数
In C++ parlance,~GCRoot is the destructor of GCRoot,so we may want to find the constructor of GCRoot.
程序员只能定义另外的带有一个或多个参数的构造函数
The programmer can only define additional constructors with one or more arguments.
记住,你只能连接到一个构造函数,而且它必须是你的构造函数体中的第一句。
Note that you can only chain to one constructor, and it has to be the first statement in your constructor body.
如果有不止一种方法可以做到,创建多个显示不同组合的构造函数
If there's more than one way to do it, create multiple constructors that show the different combinations.
仅提供静态工厂方法的主要缺点是没有公共或受保护的构造函数的类不能被子类化。
The main disadvantage of providing only static factory methods is that classes without public orprotected constructors cannot be subclassed.
Results: 86, Time: 0.0189

Word-for-word translation

S

Synonyms for 的构造函数

Top dictionary queries

Chinese - English