(PCC)::[How-to-write-Java-Program-to-Check-Whether-a-Character-is-Alphabet-or-Not-using-if-else-statement]::[java]
//xample: Java Program to Check Alphabet using if else public class Alphabet { public static void main(String[] args) { char c = '*'; 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."); } }