package com.xinjian;
public class Jiami {
public static void main(String[] args) {
String a="我一直都是个好人";
String b=a.replace("我","你");
String c=b.replace("是","不是");
String d=c.replace("好","坏");
System.out.println(d);
String e=d.replaceAll("你", "我");
String f=e.replaceAll("不是", "是");
String g=f.replaceAll("坏", "好");
System.out.println(g);
}
}