Write a java program that will validate user given password with following conditions a. length of the password will be at least 8 characters b. password must contain 2 uppercase and 2 lowercase English alphabets c. password must contain one of the special characters (@, _, #,$)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question
I need the answer as soon as possible
Write a java program that will validate user given password with following conditions
a. length of the password will be at least 8 characters
b. password must contain 2 uppercase and 2 lowercase English alphabets
c. password must contain one of the special characters (@, _, #,$)
Transcribed Image Text:Write a java program that will validate user given password with following conditions a. length of the password will be at least 8 characters b. password must contain 2 uppercase and 2 lowercase English alphabets c. password must contain one of the special characters (@, _, #,$)
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT