i值为什么是0
1)public class Test{
2) public static void add3(Integer i){
3) int val=i.intValue();
4) val = val + 3;
5) i=new Integer(val);
6) }
7) public static void main(String args[]){
8) Integer i=new Integer(0);
9) add3(i);
10) System.out.println(i.intValue());
11) }
12)}
为什么第10行打印出来为0?