web
 

Java Character Class


This method returns a String object representing the specified character value, that is, a one-character string.


Syntex

String toString(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
a
A