字符串的常量查询及索引查询
摘要:
1 String str="字符串常量字符串常量"; 2 String str1=new String("字符串常量");//构造方法 3 String str2=new String("字符串常量"); 4 String str3="字符串常量"; 5 char[]c=new char[]{'我' 阅读全文
posted @ 2016-02-29 18:44 beens 阅读(446) 评论(0) 推荐(0)
posted @ 2016-02-29 18:44 beens 阅读(446) 评论(0) 推荐(0)