Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- /**
- * Write a description of class AccountTUI here.
- *
- * @author James Blenkinsop
- * @version 1.1
- */
- public class AccountTUI
- {
- private AccountList accountList;
- private Scanner myScanner;
- public void accountTUI()
- {
- accountList = new AccountList();
- myScanner = new Scanner (System.in);
- }
- public void menu()
- {
- displayMenu();
- command = getCommand();
- execute ( command );
- }
- private void displayMenu()
- {
- System.out.println( "Options are" );
- System.out.println(" Get Number Of Accounts 1");
- System.out.println(" Remove Account 2");
- System.out.println(" Show Account 3");
- System.out.println(" Show All Account 4 4");
- System.out.println(" Quit 0");
- }
- private void execute (int command)
- {
- }
- private int getCommand();
- {
- }
- private void getNumberOfAccounts()
- {
- }
- private void quitCommand()
- {
- }
- private void removeAccount()
- {
- }
- private void showAccount()
- {
- }
- private void showAllAccounts()
- {
- }
- private void unknownCommand (int command)
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement