Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

PasswordChecker

Question

Then create a new Java application called “PasswordChecker” (without the quotation marks) that gets a String of a

single word from the user at the command line and checks whether the String, called inputPassword, conforms to the following password policy.

The password must:

  • Be 3 characters in length
  • Include at least one uppercase character
  • Include at least one digit

If the password conforms to the policy, output “The provided password is valid.” Otherwise, output “The provided password is invalid because XXX. Please try again.” Where XXX is a descriptive message about why the password was not accepted (i.e. which one of the three validations it did not satisfy). A loop is not needed for this program.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"