阿摩線上測驗 登入

試題詳解

試卷:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 51-100#83056 | 科目:OJCP(SCJP)

試卷資訊

試卷名稱:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 51-100#83056

科目:OJCP(SCJP)

83 
5e4cb0ad2eb55.jpg
Which three statements are true? (Choose three.) 
 1. Compilation fails. 
 2. The code compiles and the output is 2. 
 3. If lines 16, 17 and 18 were removed, compilation would fail. 
 4. If lines 24, 25 and 26 were removed, compilation would fail. 
 5. If lines 16, 17 and 18 were removed, the code would compile and the output would be 2. 
 6. If lines 24, 25 and 26 were removed, the code would compile and the output would be 1.
(A) 256
(B) 146
(C) 356
(D) 123
正確答案:登入後查看