Ticker

6/recent/ticker-posts

ad

A to Z in JAVA

 A to Z in JAVA using for loop




public class Characters {

    public static void main(String[] args) {

        char c;

        for(c = 'a'; c <= 'z'; ++c)
            System.out.print(c + " ");
    }
}

Post a Comment

0 Comments