-1,3,-2,-4,11,()。
A.-40
B.-48
C.5
D.4
第1题
A.NULL
B.Compilationfails.
C.Thecoderunswithnooutput.
D.Anexceptionisthrownatruntime.
第2题
A.JavaTest2222
B.JavaTest1234
C.JavaTest4242
D.JavaTest4321
第3题
A.Compilationfails.
B.Compilationsucceedswitherrors.
C.Compilationsucceedswithwarnings.
D.Compilationsucceedswithoutwarningsorerrors.
第4题
A.0
B.null
C.Compilationfails.
D.ANullPointerExceptionisthrownatruntime.
E.AnArrayIndexOutOfBoundsExceptionisthrownatruntime.
第5题
A.baz=
B.baz=null
C.baz=blue
D.Compilationfails.
E.Anexceptionisthrownatruntime.
第6题
A.Bazhasthevalueof“”
B.Bazhasthevalueofnull
C.Bazhasthevalueof“red”
D.Bazhasthevalueof“blue”
E.Baxhasthevalueof“green”
F.Theprogramthrowsanexception.
第7题
A.finished
B.Compilationfails.
C.AnAssertionErroristhrown.
D.AnAssertionErroristhrownandfinishedisoutput.
第8题
A.编译报错
B.2
C.1
D.3
第9题
A.Anexceptionisthrown.
B.Thecodewillnotcompile.
C.Theprogramprints“null”
D.Theprogramprints“blue”
E.Theprogramprints“green”
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!