Java tutorial
public class Main { public static void main(String[] args) { char cp1 = ' ', cp2 = 'A'; boolean b1 = Character.isAlphabetic(cp1); boolean b2 = Character.isAlphabetic(cp2); System.out.println(b1); System.out.println(b2); } }