is char a letter - Android java.lang

Android examples for java.lang:Character

Description

is char a letter

Demo Code


//package com.java2s;

public class Main {
    private static boolean isAlph(char c) {
        return ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'));
    }/*from  ww  w .  j  a va  2  s  .co  m*/
}

Related Tutorials