String類的常用方法,實現首字母大寫(重要),轉換大小寫,判斷字符串是否由數字組成,字符串與字符數組的轉換

(1)String類的常用方法: 示例:觀察Public char charAt(int index)public class Test {public static void main(String[] args) {// TODO Auto-generated method stubString str="hellw";System.out.println(str.charAt(1));}}結
相關文章
相關標籤/搜索