nerdexam
Oracle

1Z0-804 · Question #126

Given this code fragment: Assume that the SQL query returns records. What is the result?

The correct answer is C. The program prints each record. See the full explanation below for the reasoning.

Question

Given this code fragment:

Assume that the SQL query returns records. What is the result?

Exhibit

1Z0-804 question #126 exhibit

Options

  • ACompilation fails due to error at line 17
  • BThe program prints Error
  • CThe program prints each record
  • DCompilation fails at line 14

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    80% (20)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice