试题详情
- 单项选择题 Given: 11. static class A { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B extends A { 15. void process() { System.out.println("B "); } 16. } 17. public static void main(String[] args) { 18. A a = new B(); 19. a.process(); 20. } What is the result? ()
A、 Compilation fails because of an error in line 19.
B、 An exception is thrown at runtime.
C、 B
D、 Compilation fails because of an error in line 18.
E、 Compilation fails because of an error in line 15.
F、 The code runs with no output.
- A
关注下方微信公众号,在线模考后查看
热门试题
- Which DBMS_RES
- Which three SELECT s
- Which four are valid
- Given: What is
- On your Oracle Data
- ExaminethedataintheE
- You work
- 当Select Into语句的返回多于一
- What should
- In your multitenant
- You executed&e
- You are managing a 2
- Exhibit, One&en
- Which three
- Which two commands n
- Indentify two advant
- 在Oracle中,INSTEAD OF触
- You have enabled th
- Examine the structu
- You performed an in