01: package test; 02: 03: import javax.swing.JFrame; 04: 05: public class OverrideInInnerClass { 06: 07: public OverrideInInnerClass() { 08: } 09: 10: public static void main(String[] args) { 11: JFrame f = new JFrame() { 12: 13: }; 14: } 15: 16: }