is char Letter - Java java.lang

Java examples for java.lang:char

Description

is char Letter

Demo Code


//package com.java2s;

public class Main {
    public static boolean isLetter(char c) {
        return ((c >= 'a') && (c <= 'z')) || ((c >= 'A') && (c <= 'Z'));
    }/*from   w w  w.  j  a  v  a2  s  .c o  m*/
}

Related Tutorials