Password Check Program - checking capitals, lowercase letters, digit and special character
问题 I have an assignment that requires me to create a password checking program. The password must be at least 8 characters, contain both capital and lower case letters, a digit and a special character. I believe I am close to solving this problem but my skills are still developing and I've hit a wall. package project1; /** * * @author danechristian */ import java.util.*; public class Project1 { static Scanner console = new Scanner(System.in); static final String SPECIAL_CHARACTERS = "!,#,$,%,^,&