Java 循环输出所有英文字母 (大写和小写)
public class Main {
public static void main(String[] args) {
char c = 'A';
for (int i = 0; i < 26; i++) {
System.out.println(c + '' + (char)(c + 32));
c++;
}
}
}
原文地址: https://www.cveoy.top/t/topic/j7YS 著作权归作者所有。请勿转载和采集!