nerdexam
Oracle

1Z0-805 · Question #91

Which code fragment demonstrates the proper way to handle JDBC resources? Oracle 1Z0-805 Exam

The correct answer is C. Try {. See the full explanation below for the reasoning.

Question

Which code fragment demonstrates the proper way to handle JDBC resources? Oracle 1Z0-805 Exam

Options

  • ATry {
  • BTry {statement stmt = con.createStatement();
  • CTry {
  • DTry {ResultSet rs = stmt.executableQuery (query);

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    76% (13)
  • D
    12% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-805 Practice