摘要:
package com.ncut;public class ReferencePass {public static void main(String[] args) {Tree tree =new Tree(10);System.out.println("调用pass方法前:");System.out.println(tree);pass(tree);System.out.println("调用pass方法后:");System.out.println(tree);}public static void pass(Tree t) {t=new Tree 阅读全文