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)- A6% (3)
- B2% (1)
- C14% (7)
- D76% (39)
- E2% (1)
Community Discussion
No community discussion yet for this question.