• 初始阶段包含静态初始执行。

    During the initializing phase, any static initializers contained within a class are executed.

    youdao

  • 带有静态初始permissions声明配置可用应用程序权限提供单一位置

    A permissions class with a static initializer provides a single location for declaring and configuring available application permissions.

    youdao

  • 我们静态初始中把 EmbeddedDriver 用于驱动程序类。

    We use the EmbeddedDriver for our driver class in the static initializer of the class.

    youdao

  • Permissions从不实例化,提供构建Enum类型静态初始Enum类型可以应用程序配置权限

    Permissions is never instantiatedit features a static initializer that builds up the enum types that configure permissions for the application.

    youdao

  • 提供描述构造函数的gbeaninfo静态初始

    Provide a GBeanInfo static initializer that describes the constructor.

    youdao

  • 第二情况类型具有一个用于静态字段初始值设定项这种情况下,编译会在后台添加类型构造函数。

    The second scenario is when a type has a initializer for a static field, in which case the compiler adds a type constructor behind the scenes.

    youdao

  • 清单2显示典型静态初始

    Listing 2 shows a typical static initializer.

    youdao

  • 清单2中的静态初始显示了Customer注册过程这个包含两个属性namesalary

    The static initializer in Listing 2 shows the registration process for a Customer class that contains two properties: name and salary.

    youdao

  • 信息位于beaninfo中,该类通常bean通过静态初始装入bean提供

    This information resides in a BeanInfo class, which is typically provided by your bean when the bean's class is loaded via a static initializer.

    youdao

  • 加载之后,静态初始首先运行紧接着运行的main方法也是静态的)。

    The static initializer runs first, as the class is loaded, followed by the main method (which is also static).

    youdao

  • 实例初始一样可以使用初始语法作为静态构造函数变体

    As with instance initialization, you can use the initializer syntax as an alternative to the static constructor.

    youdao

  • 如果需要简单分配一个静态成员,那么可以使用初始语法

    If you simply need to allocate a static member, use the initializer syntax.

    youdao

  • 如果使用静态初始不可能自己捕获异常

    If you use static initializers, you cannot catch the exceptions yourself.

    youdao

  • 静态初始静态构造函数提供洁净最间接方式初始静态成员。

    Static initializers and static constructors provide the cleanest, clearest way to initialize static members of your class.

    youdao

  • 使用静态构造初始静态成员

    Initialize Static Class Members with Static Constructors.

    youdao

  • 使用静态构造初始静态成员

    Initialize Static Class Members with Static Constructors.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定