public class MainClass { public static void main(String[] argv) { System.out.println(); } } class MyClass { public final void calc(int i, int ti) { } } class MySubclass extends MyClass { public void calc(int i, int ti) { } }
Cannot override the final method from MyClass