Write code to check if a char is Lower English Character
//package com.book2s; public class Main { public static void main(String[] argv) { char chr = 'a'; System.out.println(isLowerEnglishCharacter(chr)); }//w w w.j ava2 s .c o m public static boolean isLowerEnglishCharacter(char chr) { int lowerStart = 97;//'a' int lowerEnd = 122;//'z' int code = (int) chr; return code >= lowerStart && code <= lowerEnd; } }