zeroary

zeroary

美  英

  • 网络不带参数的

例句

Existing Java technologies, like JavaBeans technology, that deal with similar problems solve the problem by requiring a zeroary constructor.

处理类似问题的现有Java技术(象JavaBean技术)就是通过要求一个不带参数的构造函数来解决问题的。

If no constructors are specified in a mixin instantiation, the default zero-argument (zeroary) constructor is assumed.

如果在mixin实例化中没有指定任何构造器,那么就假定是缺省的不带参数的(zeroary)构造器。

We could simply require all instantiations of a type parameter to include a zeroary constructor.

只要求类型参数的所有实例化都包括不带参数的构造函数。

Then in the body of class C, a zeroary constructor on S will be called.

然后,在类C的主体中,将调用S的不带参数的构造函数。

Often, it just doesn't make sense to include a zeroary constructor in a class definition.

通常在类定义中包含不带参数的构造函数没有任何意义。

A big disadvantage to this approach, however, is that for many classes there is no reasonable zeroary constructor.

然而,该方法的一个主要缺点是:对于许多类,没有合理的不带参数的构造函数。

热门查询