1、
public void change(String t1,String t2){
String tmp = t1;
t1 = t2;
t2 = tmp;
}
public static void main(String[] args){
String s = "123";
String s2 = "456";
new InvertBinaryTree().change(s,s2);
System.out.println(s);
System.out.println(s2);
}