摘要:        
传值---传递基本数据类型参数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    阅读全文
            
                posted @ 2013-03-06 11:15
_Yoo
阅读(121)
评论(0)
推荐(0)
            
        
                    
                
浙公网安备 33010602011771号