Skip to content

Commit efaa2dc

Browse files
authored
Java Program - Print A to Z alphabets
1 parent c20f090 commit efaa2dc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Test14__A_to_Z_programs.java

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.test.Basic_Java_Programs;
2+
3+
public class Test14__A_to_Z_programs
4+
{
5+
public static void main(String[] args)
6+
{
7+
for (char i = 'A'; i <= 'Z'; i++)
8+
{
9+
System.out.print(i + " ");
10+
11+
}
12+
13+
}
14+
15+
}
16+
17+
18+
/* Output:
19+
20+
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
21+
22+
23+
*/

0 commit comments

Comments
 (0)