What is the correct way to call the super ParentClass method from an anonymous class?
In the current state, super refers to Runnable.
public class ChildClass extends ParentClass {
@Override
public void myMethod(final double value) {
new Runnable() {
@Override
public void run() {
super.myMethod(value);
}
};
}
}
source
share