What is the translation of " DEFAULT CONSTRUCTOR " in Chinese?

[di'fɔːlt kən'strʌktər]
[di'fɔːlt kən'strʌktər]
的默认构造函数
默认构造函数
默认的构造函数
默认构造器

Examples of using Default constructor in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Default constructors.
缺省构造器.
ERROR: Fred doesn't have a default constructor.
错误:Fred类没有默认构造函数.
Fred's default constructor(except as discussed below).
Fred的默认构造函数(以下讨论除外)。
The base classes must have only default constructors.
目标类型必须拥有defaultconstructor.
The default constructor is automatically defined and cannot be changed.
默认的构造函数是自动定义的,且不能被改变。
All persistent classes must have a default constructor.
目标类型必须拥有defaultconstructor.
We will use the default constructor with no arguments and set the connection parameters after that.
我们将使用无任何参数的默认构造函数,然后再对连接参数进行设置。
All Java classes that will be persisted need a default constructor.
所有将被持久化的Java类都需要一个默认的构造函数
The default constructor is always of the form public C(): base(){} where C is the name of the class.
默认的构造函数通常是下面的形式publicC():base(){}这里C是类的名称。
The constructor that accept no parameter is called default constructor.
不接受任何参数的构造器叫默认构造器
For example, this code uses the default constructor for Int32, so that you are assured that the integer is initialized:.
例如,下面的代码使用Int32的默认构造函数,因此您可以确信整数已初始化:.
A constructor that accepts no parameters is called the default constructor.
不接受任何参数的构造器叫默认构造器
A default constructor is always available, never performs any dynamic memory allocation, and never initializes the matrix coefficients.
默认构造函数始终可用,从不执行任何动态内存分配,也从不初始化矩阵系数。
The constructor that accept no parameter is called default constructor.
不接收任何参数的构造器被称作“无参数构造器”。
Finally, notice that for the object created using the default constructor(child3), the age field was initialized to zero by default..
最后要注意的是,默认情况下,对于使用默认构造函数(child3)创建的对象,age字段初始化为零。
A constructor that accepts no parameters is called the default constructor.
不接收任何参数的构造器被称作“无参数构造器”。
It is important to indicate that both default constructors: the empty construction and the copy constructor exist only if no other constructor is explicitly declared.
必须注意:这两个默认构造函数(emptyconstruction和copyconstructor)只有在没有其它构造函数被明确定义的情况下才存在。
First of all, if the superclass doesn't have a default constructor.
一,如果一个class没有任何的constructor.
The following two types are equivalent- one with a default constructor, the other with an explicit constructor:..
以下两个类型是等价的-一个具有默认构造方法,另一个具有显式构造方法:.
Every class must have a constructor, even if it simply relies on the default constructor.
每个类必须有一个构造函数,即使它只依赖于默认构造函数
If later you will need to delay initialization,you can add a default constructor that will create an invalid object.
如果稍后您需要延迟初始化,则可以添加将创建无效对象的默认构造函数
A constructor that accepts no parameters is called the default constructor.
不接受任何参数的构造器叫无参构造器
All classes have constructors, whether you define one or not,because Java automatically provides a default constructor that initializes all member variables to zero.
所有的类都有构造函数,不管有没有定义,Java会自动提供一个默认的构造函数来初始化所有成员变量为零。
In the absence of explicit constructors, however, the compiler provides a public,parameterless default constructor.
然而,在缺少显式构造器的情况下,编译器会自动提供一个公有的、无参的缺省构造器(defaultconstructor)。
All classes have constructors, whether you define one or not,because Java automatically provides a default constructor that initializes all member variables to zero.
不管你与否自定义构造方法,所有的类都有构造方法,因为Java自动提供了一个默认构造方法,它把所有成员初始化为0。
As you know, in C++ when you declare any constructor,the compiler will no longer generate the default constructor for you.
如你所知,在C++中,当你声明了任何的构造函数,编译器就不会为你生成默认的构造函数
Note that at least one private constructor mustbe declared to suppress the automatic generation of a default constructor(which always has public access).
注意至少要必须声明一个私有构造函数来避免自动生成默认构造函数(它通常有公共的访问性)。
Include<iostream> class student{ public: int a, b;student(a=0,b=0)//default constructor}; int main(){}.
Include<iostream>classstudent{public:inta,b;student(a=0,b=0)//缺省构造器};intmain(){}.
All classes have constructors, whether you define one or not,because Java automatically provides a default constructor that initializes all member variables to zero.
所有类都有构造函数,无论是否定义了构造函数,因为Java会自动提供一个默认构造函数,将所有成员变量初始化为零。
In particular, the compiler always supplies a default no-parameter constructor, which you are not permitted to replace.
特别是,编译器总是提供默认的不带参数的构造函数,并且不允许您替换它。
Results: 53, Time: 0.0307

Word-for-word translation

Top dictionary queries

English - Chinese