Příklad

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


Řešení
Odeberte final z deklarace metody.

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