print alphabets in java 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 + " ");
}
}