Java(26) _打印26个英文字母

package com.bowen.dong;
/**
 * 
 * @author bw
 *
 */
public class Example005 {
   public static void main(String[] args) throws Exception {
      char a[] = new char[26];
      for(int i=0;i<26;i++) {
           a[i]=(char)('A'+i);
           System.out.print(a[i]+" ");
           if(a[i]=='Z') {
               System.out.println("");
           }
      }
   }
}
原文地址:https://www.cnblogs.com/sunnybowen/p/9860222.html