Package trial.gaurav.menu
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
-
Method Details
-
select
void select()Performs the action when selected in the menu.
-