日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項(xiàng)選擇題

public class test { 
public static void add3 (Integer i) 
int val = i.intValue ( ); 
val += 3; 
i = new Integer (val); 
}
public static void main (String args [ ] )  { 
Integer  i = new Integer (0); 
add3 (i); 
system.out.printIn (i.intValue ( )  ); 
}
What is the result?()  

A. Compilation will fail.
B. The program prints “0”.
C. The program prints “3”.
D. Compilation will succeed but an exception will be thrown at line 3.

微信掃碼免費(fèi)搜題