试题详情
- 单项选择题 Given: 11. public static void main(String[] args) { 12. Object obj = new int[] { 1, 2, 3 }; 13. int[] someArray = (int[])obj; 14. for (int i : someArray) System.out.print(i + " "); 15. } What is the result? ()
A、 Compilation fails because of an error in line 13.
B、 A ClassCastException is thrown at runtime.
C、 1 2 3
D、 Compilation fails because of an error in line 14.
E、 Compilation fails because of an error in line 12.
- C
关注下方微信公众号,在线模考后查看
热门试题
- Your business&
- You lost
- Which of t
- Evaluate this SQL s
- Identify three benef
- Identify three
- You need to modify t
- You are
- Evaluate the&e
- To enable̳
- What does the DB_FLA
- Asimplemaster-to-sla
- Your PROD&ensp
- You want
- 在Oracle中使用()可以允许用户从逻
- Your productio
- Which are DML statem
- Examine the structu
- Which /SQL*Plus feat
- ()进程以循环方式填写联机重做日志文件。