String s1 = "abcd"; String s2 = "efgh"; 将指定字符串连接到此字符串的结尾。 s1.concat(s2);//结果为:abcdefgh public String concat(String str) { int otherLen = str.length(); Read More
posted @ 2020-03-24 14:19 LPJのBLOG Views(249) Comments(0) Diggs(0) Edit