Beispiel

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


Lösung
Entfernen Sie die Angabe 'final' aus der Methodendeklaration.

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