This content has been marked as final. Show 1 reply
Well, your super.setMySum(formula); line is not contained in a method or a constructor (or an initializer block) so that code won't even compile.
But let's assume it's in the constructor, no it won't cause an error and you don't even need the "super." part in there.
Also, if there were missing references, they would be caught at compile time, not at run-time. You're assuming that the code is somehow copy-pasted in a macro fashion that would cause the "super" part to be included in other parts.