摘要: 一.字符串定义 直接定义:String str1 = "abc" ;String str2 = "abc" ;, 创建一个新字符串:String str3 = new String(); String str4 = new String(); 字符串类型是一种引用类型,所定义的变量是对象,写法同面向 阅读全文
posted @ 2018-05-04 01:13 w944372441 阅读(204) 评论(0) 推荐(0) 编辑