Question: java a) Exercise 1: Write a Java program to check whether a string is a valid password. Password rules: A password must have at least
a) Exercise 1: Write a Java program to check whether a string is a valid password. Password rules: A password must have at least 8 characters. A password consists of only letters and digits. A password must contain at least one symbol. A password must contain at least two digits. c) Exercise 3: Write a Java program to count all words in a string. Read the string from the keyboard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
