import java.util.*;
import java.lang.*;
import java.io.*;
public class Alphabet {
public static void main(String[] args) {
char c = '1';
if( (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
System.out.println(c + " is an alphabet.");
else
System.out.println(c + " is not an alphabet.");
}
}Java
Program to Check Alphabet.

Written by
View ProfileNikhil Juneja
Passionate software developer and technical contributor at TutorialsLink.
