摘要: 传值---传递基本数据类型参数publicclassPassValue{static void exchange(int a, int b){//静态方法,交换a,b的值int temp;temp = a;a = b;b = temp;}public static void main(String[] args){int i = 10; int j = 100;System.out.println("before call: " + "i=" + i + "\t" + "j = " + j);//调用前exchan 阅读全文