default constructor中文,default constructor的意思,default constructor翻译及用法

2025-09-06 22:41 浏览次数 6

default constructor

默认构造函数

default constructor 片语

片语

default copy constructor function默认复制构造函数

uses default constructor使用默认构造函数

Initialization when default constructor used当用默认的不带参数的构造函数时

default t constructor默认构造函数

default copy constructor缺省复制构造函数

the default constructor缺省构造函数

synthesized default constructor合成的默认构造函数

constructor with default arguments带缺省参数的构造函数

default constructor 例句

英汉例句

  • According to the CDI specification, having a no-arg default constructor makes this class eligible to be a managed bean.

    根据CDI规范,有一个no - arg默认构造函数使得这个类能成为托管bean。

  • The creator attribute here is set to the value new, meaning that DWR should call the class「s default constructor to obtain an instance.

    这里的creator属性被设置为值new,这意味着DWR应当调用类的默认构造函数来获得实例。

  • The only thing a class needs to be used this way is a default constructor (which allows you to create an anonymous inner class instance inheriting from your class).

    惟一需要以这种方式使用一个类的是一个默认构造函数(它允许您创建继承自类的一个匿名内部类)。

  • The default constructor creates an instance representing the current thread of execution.

    缺省构造函数创建一个代表当前执行线程的一个实例。

  • If we do not explicitly define any constructors, then the compiler will generate the default constructor for us.

    如果没有为一个类显式定义任何构造函数,编译器将自动为这个类生成默认构造函数。

  • This instantiation involves the default constructor for the class being called, with the injection of dependencies happening afterwards.

    这种实例化涉及到要调用的类的默认构造函数,随后还要注入依赖关系。

  • The first method is one that doesn」t even appear in the source code for my template class back in Listing 1, the default constructor for the class.

    清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。

  • The @Name annotation tells Seam to use the default constructor of a class to create a new instance.

    @Name注释告知Seam使用默认的类构造函数创建新实例。

  • Eventually she will figure it out: Her code is missing the default constructor for the applet she is writing.

    最后他将发现,他写的小应用程序代码缺少缺省的构造函数。

  • For instance, if you decided that all classes should have a default constructor that takes no arguments, you could write a rule that checks for a constructor on each class of an assembly.

    例如,如果你决定所有的类都应该具有一个不带任何参数的默认构造函数,则可以编写一条规则,以确保程序集的每个类上都具有一个构造函数。

  • The first is a default constructor that sets a timestamp member variable.

    第一部分是一个默认的构造函数,用来设置timestamp变量的值。

  • Note that you can drop the parentheses when using a default constructor (i.e., one that takes no arguments).

    注意,你在使用默认构造函数时可以不用写括号(例如,没有参数的构造函数)。

  • As you can see, the default constructor USES a BuddyNoteMessageHandler object.

    如您所见,默认的构造器使用BuddyNoteMessageHandler对象。

相关热词