单项选择题
Given:
What is the result?()
A.Compilation fails.
B.An 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.
点击查看答案
相关考题
-
多项选择题
Given: Which two, placed on line 13, will produce the output gobstopper?()
A.System.load("prop.custom");
B.System.getenv("prop.custom");
C.System.property("prop.custom");
D.System.getProperty("prop.custom");
E.System.getProperties().getProperty("prop.custom"); -
单项选择题
Given: When line 14 is reached, how many objects are eligible for the garbage collector?()
A.0
B.1
C.2
D.3
E.4 -
单项选择题
Given: When line 11 is reached, how many objects are eligible for garbage collection?()
A.0
B.1
C.2
D.3
