nerdexam
Adobe

9A0-127 · Question #73

Given the following code stub: <cfset obj = {key='Apple',basic=['one','two']} /> Which returns the string "two"?

The correct answer is B. obj.basic[2]. See the full explanation below for the reasoning.

Question

Given the following code stub:

<cfset obj = {key='Apple',basic=['one','two']} /> Which returns the string "two"?

Options

  • Aobj.key.basic
  • Bobj.basic[2]
  • Cobj.basic[1]
  • Dobj.basic.2

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    86% (30)
  • C
    3% (1)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 9A0-127 Practice