Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void login() {
- String username;
- String password;
- System.out.println("Please type in your username: ");
- username = scan.next();
- System.out.println("Please type in your password: ");
- password = scan.next();
- for (user user : userList) {
- if (user.getUserName().equals(username)) {
- if (user.getPassWord().equals(password)) {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement