In a login system with graphical interface I created a Class User whose attributes are (String user, String pass), then in the Mail (main) I hardcode an array of users (listUser []) with 3 users with their respective passwords .
When raising the function to validate "user" the compiler does not recognize "i