public class MainClass { public static void main(String[] argv) { System.out.println(); } } class MyClass { final void methodA() { } } class Subclass extends MyClass { void methodA() { // Error } }
Cannot override the final method from MyClass