replace()String类提供了两个replace()方法,这是最常用、最直接的替换方式,replace(charoldChar,charnewChar)功能:将字符串中所有出现的oldChar字符替换为newCha...