摘要: 1. String对象的构造 String s = new String(…);//参数…有四种类型 ①String s1 = new String(“abc”); 创建s1并且把”abc”的值赋给s1. ②String s2 = new String(s1); 创建s2并且把字符串s... 阅读全文
posted @ 2017-02-02 10:29 tensory 阅读(260) 评论(0) 推荐(0)