nerdexam
Oracle

1Z0-804 · Question #142

Given: Which two are true about the lines labeled A through D?

The correct answer is C. If only line B is removed, the code will compile and run. E. Line C is optional to allow the code to compile and run. See the full explanation below for the reasoning.

Question

Given:

Which two are true about the lines labeled A through D?

Exhibit

1Z0-804 question #142 exhibit

Options

  • AThe code compiles and runs as is.
  • BIf only line A is removed, the code will compile and run.
  • CIf only line B is removed, the code will compile and run.
  • DIf only line D is removed, the code will compile and run.
  • ELine C is optional to allow the code to compile and run.
  • FLine C is mandatory to allow the code to compile andrun.

How the community answered

(26 responses)
  • B
    15% (4)
  • C
    73% (19)
  • D
    8% (2)
  • F
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-804 Practice