大小写转换

 

public class DaXiao_cast {
    public static void main(String[] args) {
        String s = "aAsdsWERr";
        System.out.println(s.toUpperCase());
        System.out.println(s.toLowerCase());

        String a = s.toUpperCase();
        System.out.println(a);
    }
}

 

posted @ 2019-06-03 15:48  龙桑  阅读(210)  评论(0编辑  收藏  举报