A A method-local inner class can be abstract public class MainClass { public static void main(String[] argv) { abstract class A{ } } }