public class DXX { public static void main(String []args){ char dx='A',xx='a'; for(int i=0;i<26;i++,dx++,xx++){ System.out.println("大写字母:"+dx+",小写字母:"+xx); }}//输出a-z和A-Z}