String类中的替换方法String类提供了两个重载的replace方法,以及replaceAll和replaceFirst方法,Stringreplace(charoldChar,charnewChar)这是最基...