1026: 字符类型判断
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin= new Scanner(System.in);char ch=cin.next().charAt(0);if(Character.isUpperCase(ch))System.out.printf("upper");else if(Character.isLowerCase(ch))System.out.printf("lower");else if(Character.isDigit(ch))System.out.printf("digit");elseSystem.out.printf("other");}
}