Adobe
9A0-182 · Question #86
Given the following snippet: var ac:ArrayCollection = new ArrayCollection(); ac.addItem(0); ac.addItem(1); ac.addItem(2); ac.addItem(3); ac.addItemAt(2,1); var k:uint = ac[1] What is the value of k?
The correct answer is C. 2. See the full explanation below for the reasoning.
Question
Given the following snippet:
var ac:ArrayCollection = new ArrayCollection(); ac.addItem(0); ac.addItem(1); ac.addItem(2); ac.addItem(3); ac.addItemAt(2,1); var k:uint = ac[1] What is the value of k?
Options
- A0
- B1
- C2
- D3
How the community answered
(37 responses)- A5% (2)
- B3% (1)
- C84% (31)
- D8% (3)
Community Discussion
No community discussion yet for this question.