MenuDemo.java.html

  1  public class MenuDemo
  2  {
  3     public static void main(String[] args)
  4     {
  5        Menu mainMenu = new Menu();
  6        mainMenu.addOption("Open new account");
  7        mainMenu.addOption("Log into existing account");
  8        mainMenu.addOption("Help");
  9        mainMenu.addOption("Quit");
 10        mainMenu.display();
 11     }
 12  }