print alphabet pattern in java code example
Example: Java program to print alphabets
public class PrintAlphabetUsingForLoop
{
public static void main(String[] args)
{
System.out.println("Printing alphabets from a to z : ");
char alphabet;
for(alphabet = 'a'; alphabet <= 'z'; alphabet++)
{
System.out.println(alphabet);
}
}
}