📄 pr224.java
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -