servlets struts hibernate spring jsf maven
 

Java - isLetter() Method


The method determines whether the specified char(ch) value is a letter..


Syntex

boolean isLetter(char ch)

Parameters

what is mean of ch?
ch − Primitive character type.

Example

public class Test {

   public static void main(String args[]) {
      System.out.println(Character.isLetter('9'));
      System.out.println(Character.isLetter('c'));
        System.out.println(Character.isLetter('3'));
   }
}

Output
false
true
false