Build a java program that checks on a user who tries to change current password by asking some questions that user saved their answers while creating the account as shown below. The questions below...


Build a java program that checks on a user who tries to change<br>current password by asking some questions that user saved their<br>answers while creating the account as shown below. The<br>questions below use 5 different String class methods as follows:<br>• What is your username?<br>o Check if it's the same name saved regardless of<br>capital/small letters<br>• What is your password?<br>o Check if it is written exactly the same as saved value<br>• What is your favorite city?<br>o Check if the city has o letter in middle<br>• What is your brother age?<br>o Compare the brother age to 20<br>• What is your luck number?<br>o Check if the numeric value is > or <0<br>Note: customize the answers of ql & 2 as you prefer.<br>Sample Runs (Suceess & Fail Scenarios):<br>

Extracted text: Build a java program that checks on a user who tries to change current password by asking some questions that user saved their answers while creating the account as shown below. The questions below use 5 different String class methods as follows: • What is your username? o Check if it's the same name saved regardless of capital/small letters • What is your password? o Check if it is written exactly the same as saved value • What is your favorite city? o Check if the city has o letter in middle • What is your brother age? o Compare the brother age to 20 • What is your luck number? o Check if the numeric value is > or <0 note:="" customize="" the="" answers="" of="" ql="" &="" 2="" as="" you="" prefer.="" sample="" runs="" (suceess="" &="" fail="">

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here