标签:
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc=new Scanner(System.in); String s=sc.nextLine(); char ch=s.charAt(0); if(Character.isLowerCase(ch)) System.out.println("lower"); else System.out.println("upper"); } }
标签:
原文地址:http://www.cnblogs.com/watchfree/p/5350701.html