2016年12月11日

摘要: String str="hello"; 1、与数组相关的方法 System.out.println(str.length()); System.out.println(str.charAt(2));//根据下标获取字符出现的位置 System.out.println(str.indexOf('A') 阅读全文

posted @ 2016-12-11 16:47 醉银摩丶 阅读(117) 评论(0) 推荐(0) 编辑