值传递 值传递:方法调用时,实际参数把它的值传递给对应的形式参数,方法执行中形式参数值的改变不影响实际参数的值。 public class Explore { public static void main(String[] args) { int scores = 100; System.out.println(scores);//100 test(scores);//调用函数 System.out.println