>

Wednesday, August 29, 2012

Print A to Z Characters in Java

public class PrintAlphabets {
    public static void main(String[] args) {
        char ch;
        for(ch='a';ch<'z';ch++){
            System.out.println("Letters from A to Z: "+ch);
        }
    }
}

No comments:

Post a Comment

Please post your comments. Your comments make us to write more programs for you.