1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
guajiro [1.7K]
3 years ago
7

Describe how you would create a Java program that prompted the user to correctly enter a username and password. The username is

not case sensitive, bu
Computers and Technology
1 answer:
schepotkina [342]3 years ago
3 0

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."

You might be interested in
Choose the term that matches each description.
lutik1710 [3]

Answer:

operating systems, word software, computer concepts for end users

Explanation:

operating systems allow users to interact with computer hardware and application software.

word software allows users to complete specific tasks, such as creating a document.

computer concepts for end users allows programmers to create new applications.

7 0
3 years ago
What is the maximum tolerance for computer clock synchronization?
zavuch27 [327]
Hey there Shedan9609,

What is the maximum tolerance for computer clock synchronization?

Answer:

5 mins

Hope this helps :D

<em>~Top♥</em>


8 0
3 years ago
Purple gang or green gang?
zhuklara [117]

Answer:

Purple?

Explanation:

8 0
3 years ago
Read 2 more answers
You are configuring two switches of different vendors such that they connect to each other via a single link that will carry mul
Jet001 [13]

Answer:

The recommended type of trunk for interoperability is an IEEE 802.1Q trunk.

Explanation:

IEEE 802.1Q is an open industry standard and is the most commonly implemented on layer 2 switches of different vendors, assuring interoperability.

Commonly know as <em>dot1q</em>, is the networking standard that supports virtual LANs (VLANs) on an IEEE 802.3 Ethernet network. It specifies the mechanisms for tagging frames with VLAN data and the procedures for handling this data by switches and bridges.

8 0
3 years ago
---------------- is an operating systems ability to be easily enhanced over time
Grace [21]

Answer: Extensibility

Explanation:

Extensibility is one of the features which can be easily enhanced over time. As the term extensibility refers to the addition of new features and adding more features to the present modules. This does not change the internal organisation of the earlier modules in fact they add new and more improved features to the present.

4 0
4 years ago
Other questions:
  • When your tire blows out in the middle of a drive, you should _____. A. let go of the steering wheel B. pump the brakes immediat
    13·2 answers
  • How do say phone in French?
    10·2 answers
  • What does it mean if you tell a judge you are “taking the fifth”?
    12·1 answer
  • Please Help!! How to code this in Python?
    11·1 answer
  • How many of you got the right answer from this app​
    8·1 answer
  • A class can inherit behavior from a parent but also define its own and override parent behavior. This is called:
    8·1 answer
  • Which century saw the development of letterpress printing?
    10·1 answer
  • On a scale of 1-10 how would you rate your pain
    12·1 answer
  • Por qué el entorno gráfico de Windows es amigable con el hombre ?
    14·1 answer
  • Different he launc.<br>in function are available with MS-Excel<br>Many​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!