What I am trying to do is have the user get a prompt "Enter in a name: " when they enter in the name it is then added to an array list. After the name is added in the array list the user is then prompted again to enter in information this time the house number, then the street name, zip, country, state, balance.
After that is all done an auto created account number will be assigned to that information.
public void addAccount(int accountNumber,String name,String houseNum,String streetName,String city,String state,String zip,String country) { Scanner reader = new Scanner(System.in); System.out.println("Enter clients name: "); clients[1].add(reader.nextLine()); System.out.println("Enter clients house number: "); clients[2].add(reader.nextLine()); System.out.println("Enter clients street name: "); clients[3].add(reader.nextLine()); System.out.println("Enter clients city: "); clients[4].add(reader.nextLine()); System.out.println("Enter clients state: "); clients[5].add(reader.nextLine()); System.out.println("Enter clients zip: "); clients[6].add(reader.nextLine()); System.out.println("Enter clients country: "); clients[7].add(reader.nextLine()); System.out.println("Enter clients initial account balance: "); clients[8].add(reader.nextLine()); reader.close(); }