This program print alphabets on screen i.e a, b, c, ..., z. Here we print alphabets in lower case.
Java source code
You can easily modify the above java program to print alphabets in upper case.
Download Alphabets program class file.
Output of program:
Printing alphabets using while loop (only body of main method is shown):
Using do while loop:
No comments:
Post a Comment