go top

网络释义专业释义

  Static inner classes

静态内部类Static Inner Classes ) 如果一个内部类不需要对它的外部类(outer class)进行引用,那个你可以把它声明为static。

基于685个网页-相关网页

  I er Cla

注: 静态内部类I er Cla )意味着1创建一小型音乐网站制作个static内部类的对象,不需要一个外部类对象,2不能从一个static内部类的一个中小型企业网络构...

基于12个网页-相关网页

  static inner class

Static inner classes 静态内部类:静态内部类是内部类最简单的形式,它于一般的类很相似,除了被定义在了某个类的内部。

基于1个网页-相关网页

短语

静态内部类别 static inner class

非静态内部类 non-static Inner Class

  • static inner classes

·2,447,543篇论文数据,部分数据来源于NoteExpress

双语例句

  • 推荐做法如果非要使用内部的话,请使用静态内部

    The recommended approach is to use static inner classes, if you must use an inner class at all.

    youdao

  • 编译器完全禁止静态方法静态内部引用封闭参数

    Referring to enclosing type parameters inside static methods and static inner classes is prohibited outright by the compiler. So, for instance, the following code is illegal in tiger.

    youdao

  • 内部在外中任何需要访问mValue字段调用doStuff方法地方调用这些静态方法

    The inner class code calls these static methods whenever it needs to access the mValue field or invoke the doStuff method in the outer class.

    youdao

更多双语例句

百科

静态内部类

Java语言允许在类中再定义类,这种在其它类内部定义的类就叫内部类。内部类又分为:常规内部类、局部内部类、匿名内部类和静态嵌套类四种。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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