char ch = 'T';//大小写转换
char ch1 = 't';
char tch = (char) (ch ^ ' ');
char tch1 = (char) (ch1 ^ ' ');
System.out.println(tch);
System.out.println(tch1);
Java 字母大小写转化
最新推荐文章于 2024-09-15 11:29:33 发布