go top

outer class

  • 外部类:在嵌套类结构中,位于外层的类。

网络释义

  外部类

静态内部类(Static Inner Classes) 如果一个内部类不需要对它的外部类outer class)进行引用,那个你可以把它声明为static。当一个类中的静态方法调用一个内部类时,那么这个内部类必须是静态内部类。

基于92个网页-相关网页

  宿主类

除非是在宿主类(outer class)的非static方法中,否则无论我们在哪里创建内部类的对象都必须用OutClassName.InnerClassName的形式来表示这个对象的类型。

基于1个网页-相关网页

短语

Outer class variable 外部类变量

in and outer class 短期职业训练班

outer-class teaching channel 课外教学途径

outer-insulation pollution class 外绝缘污秽等级

 更多收起网络短语

双语例句权威例句

  • Note that when a class is nested, it has access to the outer class's members.

    请注意一个嵌套类的时候,可以访问外层成员。

    youdao

  • Field in the inner class hides a field with the same name in the outer class.

    内部中的在外部类中覆盖了一个相同名字域。

    youdao

  • For example, only final object references from the outer class are invokable within the body of the anonymous inner class.

    例如匿名内联主体只能调用外部中的 final 对象引用

    youdao

更多双语例句
  • More broadly, the fact that any company can demand protection for the basic shape of a device, years before it had invented the actual device or technology, should not entitle that company to claim that it had patented the design for a smartphone any more than Richard Branson can patent business class travel in outer space.

    FORBES: Apple v. Samsung: The Rights To Rectangles

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

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

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