110k views
5 votes
Which of the following references the second element in the newsSections array?

a.
newsSections(1)
b.
newsSections[1]
c.
newsSections[2]
d.
newsSections(2)
.

1 Answer

3 votes

Answer:

b.

Step-by-step explanation:

newsSections[1] is the second element in the newsSections array.

User Jake Lee
by
7.5k points

No related questions found