About Question enthuware.ocpjp.v11.2.3655 :
Posted: Tue Apr 06, 2021 7:52 am
It should be noted, that the val-- after the inner class is also illegal, so if you just change the inner class to
it still fails to compile
Code: Select all
public int reduce(int mval) {
return mval - val;
}