📅  最后修改于: 2022-03-11 14:52:35.449000             🧑  作者: Mango
public static boolean checkAlphabetic(String input) {
for (int i = 0; i != input.length(); ++i) {
if (!Character.isLetter(input.charAt(i))) {
return false;
}
}
return true;
}