Interface Command

All Known Implementing Classes:
ConcreteCommandA, ConcreteCommandB

public interface Command
The Command interface declares a method for executing commands.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the command.
  • Method Details

    • execute

      void execute()
      Executes the command.