单项选择题
现有:
1.class Passer f
2.static final int X=5;
3.public static void main (String [] args) {
4.new Passer().go (x);
5.System. out .print (x);
6. )
7.void go (int x) {
8.System. out .print(x++);
9.}
10.}结果是什么?()
A.55
B.56
C.65
D.66
点击查看答案&解析
相关考题
-
单项选择题
现有如下五个声明: Linel: int a_really_really_really_long_variable_name=5 Line2: int _hi=6; Line3: int big=Integer. getlnteger("7”); Line4:int $dollars=8; line5: int %opercent=9; 哪行无法通过编译?()
A.Line1
B.Line3
C.Line4
D.Line5 -
单项选择题
下列哪项不是Java语言的关键字?()
A.goto
B.sizeof
C.instanceof
D.volatile -
单项选择题
下列哪项不是有效的标识符?()
A.userName
B.2test
C.$change
D._password
