默认构造函数 meaning in English
default constructors
Examples
- Class has two overloads of the constructor . the
构造函数是默认构造函数;它初始化该类的属性值。 - In the preceding example , the default constructor assigned the value
在上例中,默认构造函数将值 - The default constructor performs no parameter initialization
默认构造函数不执行任何参数初始化。 - So you are assured that the integer is initialized
的默认构造函数,因此您可以确信整数已初始化: - By calling the default constructor of the value type
通过调用值类型的默认构造函数,初始化值类型