青年中文青年中文

constructor function的意思

constructor function中文翻譯:

構造函數

相似詞語短語

construction sector───建筑業

continuous function───[數]連續函數;連續功能

onto function───映成函數

distribution function───[力]分布函數;分配函數

circular function───[數]圓函數;[數]三角函數

cognitive function───認知功能

composite function───復合函數

compound function───[數]復合函數

construction───n.建設;建筑物;解釋;造句

雙語使用場景

Define a constructor function which initializes the required data.───定義一個構造器函數來初始所需的數據。

can also detect if a constructor function of a schema-type is supported; more about that in a moment.───還可以檢查是否支持模式類型的構造器函數,特別是在當時。

If you are familiar with the basics of object-oriented programming, you will know that when an object is instantiated, the class constructor function is automatically called.───如果您對面向對象編程語言基本原理比較熟悉,您就知道當一個對象被實例化時,類構造函數被自動調用。

The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.───構造函數沒有參數,并且返回的類型實例中的所有屬性都為空。

This shouldn't come as a surprise since the name of the constructor function is effectively the name of the class.───這不應當讓人感到吃驚,因為構造函數的名稱實際上是類的名稱。

The constructor function has the same name as the structured type with which it is associated.───構造函數和它關聯的結構化類型有相同的名稱。

Illustrates how to use inheritance to add a common set of properties and methods to objects created with a given constructor function.───闡釋如何使用繼承將一組通用屬性和方法添加到用給定構造函數創建的對象。

The constructor function of a class has a return type specified.───從構造函數中移除返回類型規范。

英語使用場景

In the JavaScript language, a constructor function initializes the underlying Object provided by the run time system, and this Object is returned to the caller of the constructor.

The constructor function has the same name as the structured type with which it is associated.

In the constructor function, a new trace file is opened into which the profiling address trace will be written; within the destructor function, the trace file is closed (see Listing 3).

You can use the constructor function and the mutator method to create instances of the structured type, and then you can insert these instances into the column of a table.