- All Implemented Interfaces:
Action
The `Exit` class represents an action to terminate the program when selected in the menu.
-
Constructor Summary
Constructors
-
Method Summary
void
Performs the action to exit the program.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
select
public void select()
Performs the action to exit the program.
The method terminates the program with a status code of 0.
- Specified by:
select in interface Action