Interface Action

All Known Implementing Classes:
AddCustomerAction, DeleteCustomerAction, Exit, ViewAllCustomersAction, ViewCustomerAction

public interface Action
The `Action` interface is used to define a contract for classes that represent actions in a menu. Classes implementing this interface must provide a `select()` method that performs the specific action when selected in the menu.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs the action when selected in the menu.
  • Method Details

    • select

      void select()
      Performs the action when selected in the menu.