Java认证模拟题及分析3
question 29)
what is the result of the following operation?
1) 6
3) 1
answer to question 29
--------------------------------------------------------------------------------
public class myclass1 {
/*modifier at xx */ class myinner {}
what modifiers would be legal at xx in the above code?
2) private
4) friend
--------------------------------------------------------------------------------
what will happen when you attempt to compile and run the following code?
private string sthreadname;
holt h = new holt();
}
holt(string s){
}
return sthreadname;
public void go(){
first.start();
second.start();
public void start(){
for(int i = 0; i
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>