A.applepear
B.bananapear
C.appleapple
D.applebanana
E.bananabanana
第1题:
A. Foohasthevalue“”
B.Foohasthevaluenull
C.Anexceptionisthrown
D.Thecodewillnotcompile
第2题:
A.Compilation fails.
B.ClassC is displayed.
C.The code runs with no output.
D.An exception is thrown at runtime.
第3题:
A.Tea
B.Coffee
C.CoffeeTea
D.Compilationfails
第4题:
A.Compilation fails.
B.exception is thrown at runtime.
C.The attribute id in the ItemTest object remains unchanged.
D.The attribute id in the ItemTest object is modified to the new value.
E.A new ItemTest object is created with the preferred value in the id attribute.
第5题:
A.ad
B.ada
C.add
D.adad