One of the legal modifiers you can use with method local inner classes is abstract.
For example:
public class Outer { public void method(){ a
I can think only in this case
class Outer { public void method() { abstract class A { void bar(){} abstract void foo(); } class B extends A { @Override void foo() { } } final class C extends A { @Override void foo() { } } A a1 = new B(); A a2 = new C(); } }
But I can't imagine real usage