Oracle
1Z0-804 · Question #71
1Z0-804 Question #71: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-804 to reveal the answer and full explanation for question #71. The question stem and answer options stay visible for context.
Question
Given the code fragment: What change should you make to apply good coding practices to this fragment?
Exhibit
Options
- AAdd nested try-with-resources statements for the statement and ResultSet declarations.
- BAdd the statement and ResultSet declarations to the try-with-resources statement.
- CAdd a finally clause after the catch clause.
- DRethrow SQLException.
Unlock 1Z0-804 to see the answer
You've previewed enough free 1Z0-804 questions. Unlock 1Z0-804 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
