Java char type check lower case char by ASCII value
public class Main { public static void main(String[] argv) throws Exception { char cr = 'a'; System.out.println(isLowerChar(cr)); }/*from w w w.j av a2 s.co m*/ public static boolean isLowerChar(char cr) { if (cr >= 'a' && cr <= 'z') { return true; } else { return false; } } }