nerdexam
Oracle

1Z0-899 · Question #132

Which three EL expressions, inserted at line 15, are valid and evaluate to "3"? (Choose three.)

The correct answer is B. ${vals["2"]} D. ${vals[index]} G. ${vals[vals[index-1]]}. See the full explanation below for the reasoning.

Question

Which three EL expressions, inserted at line 15, are valid and evaluate to "3"? (Choose three.)

Exhibit

1Z0-899 question #132 exhibit

Options

  • A${vals.2}
  • B${vals["2"]}
  • C${vals.index}
  • D${vals[index]}
  • E${vals}[index]
  • F${vals.(vals.index)}
  • G${vals[vals[index-1]]}

How the community answered

(49 responses)
  • A
    2% (1)
  • B
    84% (41)
  • C
    4% (2)
  • E
    2% (1)
  • F
    8% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice