1 public class
Test {
2 public static void add3 (Integer i) {
3 int val = i.intValue();
4 val += 3;
5 i = new Integer(val);
6 }
7
8 public static void main(
String args[]) {
9 Integer i = new Integer(0);
10 add3(i);
11 System.out.println(i.intValue()); 12 } 13 } What is the result?
A. 0
B. 3
C. Compilation fails.
D. An exception is thrown at runtime.