java学习p162
public class a1 {
public static void main(String[] args) {
System.out.print("方法一的结果为 ");
char[] arr1 = new char[26];
char a = 'A';
for (int i = 0;i < 26;i++) {
arr1[i] = a;
a++;
System.out.print(arr1[i] + "/t");
}
System.out.println();
System.out.print("方法二的结果为 ");
char[] arr2 = new char[2
java学习p162最先出现在Python成神之路。
共有 0 条评论