Welcome to the World of Online Learning:
Hello Friends “This blog helps you to learn Java programming concepts. You can learn Java language at your own speed and time. One can learn concepts of Java language by practicing various programs given on various pages of this blog. Enjoy the power of Self-learning using the Internet.”

Write a Java Program to Display Alphabets (A to Z) using loop
PROGRAM: Java Program to Display Alphabets (A to Z) using loop
/* Java Program to Display Alphabets (A to Z) using loop*/
1: Display uppercased alphabet using for loop
class Main {
public static void main(String[] args) {
char c;
for(c = ‘A’; c <= ‘Z’; ++c)
System.out.print(c + ” “);
}
}
2: Display lowercase alphabet using for loop
class Main {
public static void main(String[] args) {
char c;
for(c = ‘a’; c <= ‘z’; ++c)
System.out.print(c + ” “);
}
}