摘要:
public static void main(String[] args) { String str = "we re studenzt"; int size = str.lastIndexOf(""); System.out.println(size);//两者输出结果相同 System.out.println(str.leng... 阅读全文
posted @ 2018-06-17 14:34
xiaotao520
阅读(97)
评论(0)
推荐(0)
摘要:
public static void main(String[] args) { // String(char a[]) 方法 char a[] = {'g','o','o','d'}; String str = new String(a); System.out.println(str); ... 阅读全文
posted @ 2018-06-17 12:47
xiaotao520
阅读(120)
评论(0)
推荐(0)
浙公网安备 33010602011771号