错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Static, Non-static, Local, and Anonymous Classes

  • Jeff Friesen

摘要

The classes that I’ve presented to this point are known as top-level classes. They don’t belong to another class or structure. However, Java also lets you declare classes in other classes, blocks (groups of zero or more statements between { and } characters), and expression contexts.