001package headfirst.command.undo; 002 003public interface Command { 004 public void execute(); 005 public void undo(); 006}