单项选择题X 纠错
A. Compilation fails.
B. An exception is thrown at runtime.
C. The attribute id in the Item object remains unchanged.
D. The attribute id in the Item object is modified to the new value.
E. A new Item object is created with the preferred value in the id attribute.
你可能喜欢
单项选择题
A. Compilation fails.
B. Gobstopper Fizzylifting
C. Gobstopper Scrumdiddlyumptious
D. Scrumdiddlyumptious Fizzylifltng
E. Scrumdiddlyumptious Scrumdiddlyumptious
单项选择题
A. p.setWeight(420);
B. p.changePayload(420);
C. p = new Payload(420);
D. Payload.setWeight(420);
E. p = Payload.setWeight(420);
F. p = new Payload(); p.setWeight(420);
多项选择题
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”);
单项选择题
A.a b
B.b c
C.a b c
D. Compilation fails.
E. An exception is thrown at runtime.
单项选择题
A. No output is produced. 123
B. No output is produced. 234
C. No output is produced. 1234
D. An exception is thrown at runtime. 123
E. An exception is thrown at runtime. 234
F. An exception is thrown at rijntime. 1234
单项选择题
A. Compilation fails.
B. An exception is thrown at runtime.
C. doStuffx = 6 main x = 6
D. doStuffx = 6 main x = 7
E. doStuffx = 7 main x = 6
F. doStuffx = 7 main x = 7
单项选择题
A. java Commander
B. java com. sim. sjcp.Commander
C. java com/sun/sjcp/Commander
D. java -cp com.sun.sjcp Commander
E. java -cp com/sun/sjcp Commander
单项选择题
A. args.count
B. args.length
C. args.count()
D. args.length()
E. args.getLength()
单项选择题
A. The file will compile without error.
B. Compilation fails. Only line 7 contains an error.
C. Compilation fails. Only line 12 contains an error.
D. Compilation fails. Only line 13 contains an error.
E. Compilation fails. Only lines 7 and 12 contain errors.
F. Compilation fails. Only lines 7 and 13 contain errors.
G. Compilation fails. Lines 7, 12, and 13 contain errors.
单项选择题
A. s 14
B. s 16
C. s 10
D. Compilation fails.
E. An exception is thrown at runtime.