public static void main(String[] args){ fu5(); }
public static void fu5(){ String a="aaa222222"; System.out.print("原函数"+a+" "); String a1=a.replace('2','3'); System.out.println("修改后"+a1); }