Java中只有值传递,这是肯定的。Java语言规范写得很清楚:When the method or constructor is invoked, the 【values of the actual argument expressions】 initialize newly created parameter variables, each of the declared type, before execution of the body of the method or constructor |