Class DoShowBalance


public class DoShowBalance extends Command<Savings>
Show the account's balance.
  • Constructor Details

    • DoShowBalance

      public DoShowBalance(Savings receiver)
      Parameters:
      receiver -
  • Method Details

    • execute

      protected final void execute()
      Description copied from class: Command
      Executes the command: as defined in the Command pattern, the command's execution should eventually invoke the receiver's action.
      Specified by:
      execute in class Command<Savings>
      See Also:
      pt.tecnico.po.ui.Command#execute()