A.TestA
B.TestB
C.Compilationfails.
D.Anexceptionisthrownatruntime.
第1题
A.4321
B.0000
C.An exception is thrown at runtime.
D.Compilation fails because of an error in line 18.
第2题
A. go in Goban go in Goban
B. go in Sente go in Goban
C. go in Goban go in Sente
D. go in Sente go in Sente
E. Compilation fails because of an error in line 17.
第3题
A.Value is: 8
B.Compilation fails.
C.Value is: 12
D.Value is: -12
E.The code runs with no output.
F.An exception is thrown at runtime.
第4题
A.Valueis:8
B.Compilationfails.
C.Valueis:12
D.Valueis:-12
第5题
A.Thecodewilldeadlock.
B.Thecodemayrunwithoutput"2064".
C.Thecodemayrunwithnooutput.
D.Thecodemayrunwithoutput"06".
E.Anexceptionisthrownatruntime.
F.Thecodemayrunwithoutput"0246".
第6题
A.Thecodewilldeadlock.
B.Thecodemayrunwithnooutput.
C.Anexceptionisthrownatruntime.
D.Thecodemayrunwithoutput"06".
E.Thecodemayrunwithoutput"2064".
F.Thecodemayrunwithoutput"0246".
第7题
A.Line26prints"a"toSystem.out.
B.Line26prints"b"toSystem.out.
C.Anexceptionisthrownatline26atruntime.
D.CompilationofclassAwillfailduetoanerrorinline6.
第8题
A.goinGobangoinSentegoinSente
B.goinSentegoinSentegoinGoban
C.goinSentegoinGobangoinGoban
D.goinGobangoinGobangoinSente
第9题
A.CompilationofclassAfails.
B.Line28printsthevalue3toSystem.out.
C.Line28printsthevalue1toSystem.out.
D.Aruntimeerroroccurswhenline25executes.
E.Compilationfailsbecauseofanerroronline28.
第10题
A.Line 26 prints "a" to System.out.
B.Line 26 prints "b" to System.out.
C.An exception is thrown at line 26 at runtime.
D.Compilation of class A will fail due to an error in line 6.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!