在. NET中,序列化类也需要缺省构造函数。
In.net, a default constructor is also needed for a serialization class.
可缺省构造的对象只需具有一个缺省构造函数。
DefaultConstructible objects only need to have a default constructor.
在这个示例中,检查实际上是多余的,因为缺省套接字实现的构造函数也执行相同的检查。
The check is actually redundant in this example, because the constructor for the default socket implementation performs the same check.
这种思想的常见扩展是在类的构造函数中预先用缺省值填充该集合。
A common extension of this idea is to prefill the collection with default values in the constructor of the class.
最后他将发现,他写的小应用程序代码缺少缺省的构造函数。
Eventually she will figure it out: Her code is missing the default constructor for the applet she is writing.
理解并掌握构造函数、析构函数、拷贝构造函数、默认构造函数和缺省参数的构造函数的含义、定义方法以及在对象的构造和撤消中的作用。
Understand and master the constructor, destructor, copy constructor, default constructor and default constructor parameters, to define methods and objects of the structure and the role of withdrawal.
一个缺省的构造函数可以用缺省值来初始化所有的参数,构造一棵基本的分类树。
There is a default constructor that initializes all the parameters with the default values tuned for standalone classification tree.
一个缺省的构造函数可以用缺省值来初始化所有的参数,构造一棵基本的分类树。
There is a default constructor that initializes all the parameters with the default values tuned for standalone classification tree.
应用推荐