Question: 1 . 1 . Create a new exception class called BadPass that has a default ( ( no argument constructor ) ) and a constructor

1. Create a new exception class called BadPass that has a default (no argument constructor) and a constructor that takes a String message. Write a program Get Passwords that asks for a user passwords that are between 8 and 12 characters in length, and contain at least two special symbols from the set %&^!@. If these conditions are not met, then you program will throw a BadPass exception

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is asking to create a program called Get Passwords which asks a user to input a passwor... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!