exam questions

Exam 98-388 All Questions

View all questions & answers for the 98-388 exam

Exam 98-388 topic 1 question 42 discussion

Actual exam question from Microsoft's 98-388
Question #: 42
Topic #: 1
[All 98-388 Questions]

HOTSPOT -
You need to evaluate the output of the following code segment. Line numbers are included for reference only.

For each of the following outputs, select Yes if the output is displayed. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://www.w3schools.com/java/java_try_catch.asp

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
mtmoore
Highly Voted 4 years, 9 months ago
No, Yes, No, Yes. Obviously, try will fail because you're trying to divide by 0. The first catch will be triggered so it won't attempt the second catch and will go straight to finally.
upvoted 15 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 ...