Is there any way to, in a Java derived class, \"disable\" a method and/or field that is otherwise inherited from a base class?
For example, say you have a Shap
Shap
Declaring the same function in the 'child'-class will overwrite the default function declared in the base class. So in your child-class, make a function called rotate() which does nothing, that will overwrite the default behaviour
rotate()