15.2 Arrays 15.2.1 Introduction to arrays Arrays provide a tabular way to organise a collection of related data. For example, if we wished to store the seven names of each weekday as Strings, we could use an array containing seven elements. This array would be structured as follows: Index Value weekDays[0] "Monday" weekDays[1] "Tuesday" weekDays[2] "Wednesday" weekDays[3] "Thursday" weekDays[4] "Friday" weekDays[5] "Saturday" weekDays[6] "Sunday" As can be seen all of these different String values are stored under the collective name weekDays, and a number from 0 to 6) is used to state which of these weekDays values we specifically wish to refer to. So by referring to weekDays[3] we could retrieve the String "Thursday.