Which of the following statements is true?
Group of answer choices

1.An array can only be used to hold number data.

2.An index refers to the position of a particular element in an array.

3.An index does not need to be used when looping through an array.

4.Only a while loop can be used when iterating through an array.