Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Java Programming)- I'm getting some errors with my code (which will be posted below along with the error message) within the NetBeans application. Could anyone

(Java Programming)- I'm getting some errors with my code (which will be posted below along with the error message) within the NetBeans application. Could anyone help me figure out the program. I have no errors in NetBeans that I can easily see.

authenticationsystem.java(main program):

image text in transcribed

image text in transcribed

userInfo.java:

image text in transcribed

image text in transcribed

image text in transcribed

.txt files:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Error message when running program:

image text in transcribed

Thanks for any advice you can give!

File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window? userinfo javaauthenticationsystem.java X ackage authenticationsyste; import java.util.Scanner import java.iO.IOException: import Java.security. NoSuchAlgorithmException: 7 public class AuthenticationSystem { public static void main (String[ args) throws NoSuchAlgorithmException, Exception i 10 Scanner scnr-new Scanner (System.in) int failedAttempts = 0; int maxAttempts3 boolean logOut; String userName String userPass; UserInfo newUser- new UserInfo ) 12 14 16 17 18 while (failedAt tempts System.out.printin ("Please enter your USERNAME:" userNamscnr.nextLine System.out.println("Please enter your PASSWORD:") userPasScnr.nextLine

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions

Question

2. Eve really enjoys the science center.

Answered: 1 week ago

Question

What is cultural tourism and why is it growing?

Answered: 1 week ago

Question

3. Comment on how diversity and equality should be managed.

Answered: 1 week ago

Question

describe the legislation that addresses workplace equality

Answered: 1 week ago