Example
public class
ClassA
{
private void
staticMethod () {
}
}
class
ClassB
extends
ClassA {
private void
staticMethod() {
}
}
Solution
Avoid overriding inherited private methods. Consider keeping the parent method and use a different name for the child method.