我无法使用公共方法检查 az 和 AZ 等非字符串值
Scanner input = new Scanner(System.in);
System.out.print("Enter your First Name: ");
String First_name = input.nextLine();
Scanner last = new Scanner(System.in);
System.out.print("Enter your Last Name: ");
String Last_name = last.nextLine();
这是公共方法
public static boolean check_non_string_value (String First_name, String Last_name){
// dont know how to check the input here
}