Java examples for java.lang:char
is char English Letter
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { char input = 'a'; System.out.println(isEnglishLetter(input)); }//from www. j a v a2 s . co m public static boolean isEnglishLetter(char input) { return (input >= 'a' && input <= 'z') || (input >= 'A' && input <= 'Z'); } }