Java examples for java.lang:char
check char is upper letter by ascii value range
//package com.java2s; public class Main { /**/*from w w w. ja v a 2s .co m*/ * check c is upper letter * * @param c * @return */ private static boolean isUpper(char c) { return c >= 56 && c <= 90; } }