摘要: 1. 引用数据类型需要new 2. 字符串使用的3种方式 String s = "hello world"; String s = new String(); String s = new String("123456"); s.length 字符串长度 3. length的用法 返回字符串长度 4 阅读全文
posted @ 2016-08-16 20:18 八十年代的金坛县 阅读(124) 评论(0) 推荐(0) 编辑