import java.util.*; public class Main{ public static Boolean checkPassword(String str){ // 验证长度 if(str.length() <= 8) return false; // 验证包括的字符种类 int low = 0, up = 0, num = 0, other = 0; for(int i = 0; i < str.length(); i++){ char tmp = st...