Pages

Print Alphabets



Write a Program to Print the Alphabets?

This program print alphabets on screen i.e a, b, c, ..., z.

Source code of the Program:

class Alphabets
{
public static void main(String args[])
{
      char ch;

      for( ch = 'a' ; ch <= 'z' ; ch++ )
      System.out.println(ch);
}
}

Output of the Program: