public static void change (int x, int y){//要求://不借助第三方变量,将x,y两个变量的值互换。}正解:public static void change (int x, int y){ x = x + y; y = x - y; x = x - y;}