      1  /**

      2     This program tests the menu class.

      3  */

      4  public class MenuTester

      5  {

      6     public static void main(String[] args)

      7     {

      8        Menu mainMenu = new Menu();

      9        mainMenu.addOption("Open new account");

     10        mainMenu.addOption("Log into existing account");

     11        mainMenu.addOption("Help");

     12        mainMenu.addOption("Quit");

     13        int input = mainMenu.getInput();

     14        System.out.println("Input: " + input);

     15     }

     16  }