How can I achieve the end-goal from this position? Code throws out of bounds exception

Question: create a class named Account that contains the string fields name, email and

password.

Develop a program called LoginSim that simulates a login procedure. The program reads a

list of names, email addresses and passwords from a file pw.txt. Store the information in

an ArrayList of Account objects.

*Note: for Netbeans users the file must be placed in a test folder and accessed with

new File("test/pw.txt");

Your program will prompt the user for their email address. If the email is not in the system,

prompt the user to try again. Give them an option to quit.

If the...

Read More »

By: StackOverFlow - 6 days ago

Related Posts