Java Program to print Alphabets

This is the simple and also the favorite program of an new learning student who start’s learning “Java” language.This will be the initial step for every new programmer to built the logic’s as well as to get full control on command line by understanding the work of “for loop” by this simple program.

class Alphabets
{
   public static void main(String args[])
   {
      char ch;
      for( ch = ‘a’ ; ch <= ‘z’ ; ch++ )
         System.out.println(ch);
   }
}

 

Output  : 
Share Your Comments

Previous Java Program for finding Armstrong number
Next Java Program to print Multiplication Table

About author

You might also like