exam questions

Exam 1z0-808 All Questions

View all questions & answers for the 1z0-808 exam

Exam 1z0-808 topic 1 question 31 discussion

Actual exam question from Oracle's 1z0-808
Question #: 31
Topic #: 1
[All 1z0-808 Questions]

Which three are advantages of the Java exception mechanism? (Choose three.)

  • A. Improves the program structure because the error handling code is separated from the normal program function
  • B. Provides a set of standard exceptions that covers all possible errors
  • C. Improves the program structure because the programmer can choose where to handle exceptions
  • D. Improves the program structure because exceptions must be handled in the method in which they occurred
  • E. Allows the creation of new exceptions that are customized to the particular program being created
Show Suggested Answer Hide Answer
Suggested Answer: ACE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
iSnover
Highly Voted 2 years, 9 months ago
Selected Answer: ACE
The answer is ACE, there's nothing to argue about. the alternatives are pretty solid and to the point.
upvoted 6 times
...
vic88
Most Recent 8 months ago
Selected Answer: ACE
A, C, AND E
upvoted 1 times
...
deyvi25
1 year, 3 months ago
ACE is the answer!
upvoted 1 times
...
Kolodets
2 years, 3 months ago
standart exceptions can't cover all possible errors => B wrong
upvoted 1 times
...
anmoldev2java
2 years, 8 months ago
why not CDE???
upvoted 1 times
Ankit1010
2 years, 5 months ago
Because D says "MUST be handled in the method in which they occurred" Which is not true. You can throw the exception from that method using throws in the method signature and handle it in the calling method.
upvoted 6 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...