JAVA题库:格林模拟试题一(上)(9)
来源:优易学  2010-1-11 11:53:34   【优易学:中国教育考试门户网】   资料下载   IT书店

question 29)

what is the result of the following operation?

system.out.println(4 | 3);

1) 6
2) 0
3) 1
4) 7

question 30)

public class myclass1 {
public static void main(string argv[]){ }
/*modifier at xx */ class myinner {}
}

what modifiers would be legal at xx in the above code?

1) public
2) private
3) static
4) friend

责任编辑:cyth

文章搜索:
 相关文章
热点资讯
热门课程培训