pr224.java
来自「linux下编程用 编译软件」· Java 代码 · 共 17 行
JAVA
17 行
// File PrivateInnerInterface.javapublic class PR224 { private interface Inter {}}class PrivateInnerInterface_Test extends PR224 { void foo() { // Implement the interface with an innerclass Inter i = new Inter() { } ; }}// This should fail to compile because Inter is private in the superclass
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?