 - 'a' + 'A';
大写转小写
a[i] = str.charAt(i) - 'A' + 'a';
输出:
if(i == 0) System.out.print(a[i])
else System.out.print(" "+a[i])