构造函数 英语是什么意思 - 英语翻译 S

名词
constructor
构造函数
构造器
一个构造函数
车队
一个constructor
constructors
构造函数
构造器
一个构造函数
车队
一个constructor
a destructor

在 中文 中使用 构造函数 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
构造函数没有返回类型,也没有void。
A destructor does not have return type and not even void.
每次调用构造函数或Semaphore.
Each time you call a constructor or the Semaphore.
构造函数的概念可以应用于大多数面向对象的编程语言。
The concept of a constructor can be applied to most object-oriented programming languages.
构造函数在技术上是常规函数。
Constructor functions technically are regular functions..
这可以使用构造函数和"new"操作符。
That can be done using constructor functions and the"new" operator.
构造函数没有返回类型,也没有void。
A constructor does not have a return type, not even void.
构造函数没有返回类型。
The destructor has no return type.
我们可以使用构造函数来创建多个类似的对象。
We can use constructor functions to make multiple similar objects.
创建一个构造函数使用3种方法创建对象的Calculator:.
Create a constructor function Calculator that creates objects with 3 methods.
你可以使用构造函数来创建一个新的对象.
You can use constructor functions to create a new object.
CF是一个构造函数(当然也是一个对象)。
CF is a constructor(and also an object).
构造函数没有返回类型,也没有void。
Destructor does not have any return type, not even void.
JavaScript并没有类,但有new调用的构造函数:.
JavaScript doesn't have classes but has constructor functions invoked with new.
我们称之为构造函数
We call it composition of functions.
但您也可以使用String函数作为构造函数
But you can also use the String function as a constructor function.
注意,数据结构也可以使用辅助函数,例如构造函数
Note that even data structures can benefit from auxiliary functions,such as constructors.
当一个域、方法、属性、事件、操作符或构造函数声明包含静态修饰符,它就声明了一个静态成员。
When a field, method, property, event, operator, or constructor declaration includes a static modifier, it declares a static member.
Js8版本之前,使用newBuffer(Number)构造函数分配的缓冲区并未使用ZEROS初始化内存空间。
Js version 8,Buffers allocated using the new Buffer(Number) constructor did not initialise the memory space with zeros.
构造函数是以双下划线(__)开头的类函数。
A destructor is a class function that begins with double underscore(_).
静态构造函数在为非托管代码创建包装类时也很有用,此时该构造函数可以调用LoadLibrary方法。
Static constructors are also useful when creating wrapper classes for unmanaged code, when the constructor can call the LoadLibrary method.
在实例方法或构造函数中,this是对当前对象的引用--即其方法或构造函数被调用的对象。
Within an instance method or a constructor, this is a reference to the current object- the object whose method or constructor is being called.
请记住,实例方法和构造函数的局部变量表的第一位是this引用。
(Remember, the first entry of the localvariable table for instance methods and constructors is the this reference.).
如果某个类具有私有构造函数,那么您无法从该类外部创建该类的对象。
If a class has private constructor then you cannot create the object of that class from outside of the class.
本节介绍了C支持的其他类型的函数成员:构造函数、属性、索引器、事件、运算符和析构函数。
This section describes the otherkinds of function members supported by C: constructors, properties, indexers, events, operators, and finalizers.
Prototype属性表示Array构造函数的原型,并允许您向所有Array对象添加新的属性和方法。
Prototype property represents the prototype for the Array constructor and allows you to add new properties and methods to all Array objects.
建立构造函数的另一种(错误的)方法是通过赋值,如:Fred::Fred(){x_=whatever;}。
The other(inefficient) way to build constructors is via assignment, such as: Fred::Fred(){ x_= whatever;}.
它(将)不用于方法形式、构造函数形式、方法返回类型、字段、捕获形式,或任何其他类型的变量声明。
It would not be available for method formals, constructor formals, method return types, fields, catch formals, or any other kind of variable declaration.
如果隐式类型转换很明显是有用的,并且某些构造函数满足上面的「安全」标准,那么可以考虑添加convert方法。
If it becomes clear thatimplicit conversion would be useful, and that some constructors meet the above"safety" criteria, then convert methods can be added.
Sync()构造函数立即执行其函数参数(除非该函数返回Future)在微任务中完成,类似于2。
Sync() constructor executes its function argument immediately and(unless that function returns a Future) completes in a microtask, similar to 2.
静态工厂方法的第三个优点是,与构造函数不同,它们可以返回其返回类型的任何子类型的对象。
A third advantage of static factory methods is that, unlike constructors, they can return an object of any subtype of their return type.
结果: 254, 时间: 0.0253

构造函数 用不同的语言

单词翻译

S

同义词征构造函数

顶级字典查询

中文 - 英语