java program to print all alphabets from a to z using while loop code example
Example: java program to display characters from a to z using loop
public class Characters {
public static void main(String[] args) {
char c;
for(c = 'A'; c <= 'Z'; ++c)
System.out.print(c + " ");
}
}