怎么用JAVA写一个能够交换两个数的静态方法

2025-02-25 18:25:18
推荐回答(1个)
回答1:

public static void change(int a,int b){
int c=a;
a=b;
b=c;

}