I found that I need to call super.super.method () in java, which is not possible.
I'm just wondering if I have a design flaw in my design or not?
Classes:
package solvers.command; public abstract class Command { private boolean executed;
Basically, I need the security of the execute() command, while I don't need the CompoundCommand execute () implementation for the ExecutedCompoundCommand , but I just want to rely on the add (), remove ()) and undo () of the CompoundCommand operation.
As a student, working on a project with the required javadoc and unit testing, it is really necessary that there is as little code duplication as it can only do more work.
skiwi source share