摘要: 自己了解的4种方式。若有补充请留言。谢谢! String str = "abc"; // 1、通过 + System.out.println(str + "d"); // abcd // 2、通过 concat() System.out.println(str.concat("d")); // ab 阅读全文
posted @ 2022-07-03 19:19 村上春树的叶子 阅读(17) 评论(0) 推荐(0) 编辑