A. Foohasthevalue“”
B.Foohasthevaluenull
C.Anexceptionisthrown
D.Thecodewillnotcompile
第1题:
A.Foohasthevalueof0.
B.Foohasthevalueofnull.
C.Foohasthevalueoftrue.
D.Foohasthevalueoffalse.
E.Anexceptionisthrown.
F.Thecodewillnotcompile.
第2题:
A.Anexceptionisthrownatruntime.
B.1
C.4
D.Compilationfails.
E.0
第3题:
A.abc
B.123
C.a1b2c3
D.a1b2c3
第4题:
A.Bazhasthevalueof0
B.Bazhasthevalueof1
C.Bazhasthevalueof2
D.Anexceptionisthrown.
E.Thecodewillnotcompile.
第5题:
A.0
B.1
C.4
D.Compilationfails.