99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項(xiàng)選擇題

class super ( 
public int I = 0; 
public super (string text) ( 
I = 1 
) 
) 
public class sub extends super ( 
public sub (string text)   (
i= 2 
) 
public static void main (straing args[])   ( 
sub sub = new sub (“Hello”); 
system.out. PrintIn(sub.i); 
)   
)  
What is the result?() 

A. Compilation will fail.
B. Compilation will succeed and the program will print “0”
C. Compilation will succeed and the program will print “1”
D. Compilation will succeed and the program will print “2”

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