Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-808 Topic 8 Question 96 Discussion

Actual exam question for Oracle's 1Z0-808 exam
Question #: 96
Topic #: 8
[All 1Z0-808 Questions]

Given the following code for the classes MyException and Test:

What is the result?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Kimbery
3 days ago
Woah, wait a minute! What if the MyException constructor throws an exception? Then we might get a compile-time error. I better double-check the code before answering.
upvoted 0 times
...
Veta
4 days ago
Hmm, this looks like an interesting exception handling scenario. Let's see, the MyException class is extending RuntimeException, so it should be unchecked. The Test class is throwing a new instance of MyException, so I think the answer is either A or B.
upvoted 0 times
...
Felton
16 days ago
I'm not sure, but I think it might be E) A compile time error occurs at line n1
upvoted 0 times
...
Marcelle
18 days ago
I believe it's C) Either A or B
upvoted 0 times
...
Florinda
23 days ago
I think the answer is A
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77