Příklad

public class ClassA {
static final void testMethod () {
}
}


Řešení
Odeberte final z deklarace metody.

public class ClassA {
static void testMethod () {
}
}