package Strings;
//"I am a Chinese people" 换成 "I am a Beijing people"
public class ChangeString {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println(ChangeString.method1());
}
public static String method1(){
return "I am a Chinese people".replace("Chinese", "Beijing");
}
}