concat用法 说法:将指定字符串连接到此字符串的结尾。 String str = “abc”; str = str.concat(“123”); System.out.println(str); 输出结果:abc123