Write code to check if a char is Upper English Character
//package com.book2s; public class Main { public static void main(String[] argv) { char chr = 'a'; System.out.println(isUpperEnglishCharacter(chr)); }//w w w . ja va 2 s .c om public static boolean isUpperEnglishCharacter(char chr) { int upperStart = 65;//'A' int upperEnd = 90;//'Z' int code = (int) chr; return code >= upperStart && code <= upperEnd; } }