Java tutorial
public class Main { public static void main(String[] args) { char ch1 = 'A', ch2 = '9'; boolean b1 = Character.isLetter(ch1); boolean b2 = Character.isLetter(ch2); System.out.println(ch1 + " is a letter is " + b1); System.out.println(ch2 + " is a letter is " + b2); } }