Answer:
Explanation:
The program in question would create a new Scanner Object which asks the user for the Username first. It would then save this input into a temporary variable and compare it to the actual username in the database. Since the username is not case sensitive, we would use the toLowerCase() method on both the input and the database username so that they match even if the letters are not the same case structure. If both usernames match then we would move on to ask the user for the Password and compare it with the database password for that user. Since this one is case sensitive we would compare as is. Finally, if both Username and Password match we would print "Hello World" otherwise we would print "Login Failed."
Hello,
Well my advice for Sara when using the web would be 3 things.
1: Never tell anyone where you live,Your name, Or any other personal information.
This is important as it will keep you safe and others that are in your family.
2: Get anti virus hardware on your devise.
This will help to stop bad people, and bugs/glitches,this will also protect you from information thieves.
3: Make sure to keep your passwords saved on paper.
I know a lot of people use, google(ect.) to save there passwords to make everything easy, but a good way to never loss them is to wright them down.
Have a great day!
Perhaps I’m being 5tup1d but I think your describing open source soft in general. Linux and a lot of periphery that runs on Linux is open source so it did play a large role being that it’s not proprietary like Windows and windows adjacent soft.