当前位置:SCJP程序员认证考试题库

问题:

[单选]

public class test( 
public int aMethod()[ 
static int i=0; 
i++; 
return I; 
) 
public static void main (String args[]){ 
test test = new test(); 
test.aMethod(); 
int j = test.aMethod(); 
System.out.printIn(j); 
] 
}       
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&rdquo

水污染的生物监测主要包括哪些方面? 几种营养价值较低的蛋白质不宜混合使用。 《寡人之于国也》开头梁惠王拿自己国家与邻国之政相比较时,孟子为什么不直接阐明意见,而用“请以战喻”? 跳出率是指?() 访问一个页面的访问次数/全部访问次数。 访问一个页面的访问次数/pv。 访问一个页面的访问次数/uv。 从页面的退出次数/页面pv。 管涌

public class test( 
public int aMethod()[ 
static int i=0; 
i++; 
return I; 
) 
public static void main (String args[]){ 
test test = new test(); 
test.aMethod(); 
int j = test.aMethod(); 
System.out.printIn(j); 
] 
}       
What is the result?()  

参考答案:

  参考解析

本题暂无解析

在线 客服