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.

Respuesta :

1 an array can only be used to hold number data
nunoz
An array can hold any data type, it just has to have the same data type. The right answer is 2.