百度
摘要: package l515; //例5.15 //字符串替换 public class NewStr { public static void main(String[] args) { String str ="address"; //将字符串str中的字符"a"替换成"A"后返回新字符串newstr String newstr =str.replace("a","A");... 阅读全文
posted @ 2018-12-21 21:37 麦克斯-侯 阅读(165) 评论(0) 推荐(0)
百度