nerdexam
Oracle

1Z0-241 · Question #32

Examine this PeopleCode snippet: If All(START_DT, END_DT) Then Which option is true?

The correct answer is D. If both START_DT and END_DT have values, the statement returns TRUE. See the full explanation below for the reasoning.

Question

Examine this PeopleCode snippet: If All(START_DT, END_DT) Then Which option is true?

Options

  • AThe correct syntax is If Any(START_DT, END_DT) Then
  • BThe correct syntax is If %All(START_DT, END_DT) Then
  • CIf either START_DT or END_DT has values, the statement returns TRUE.
  • DIf both START_DT and END_DT have values, the statement returns TRUE.
  • EIf both START_DT and END_DT have values or if they are both empty, the statement returns TRUE.

How the community answered

(51 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    14% (7)
  • D
    76% (39)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-241 Practice