News

Like one-dimensional array variables, a two-dimensional array variable is associated with a .length property, which returns the length of the row array. For example, temperatures1.length returns 2.
A two-dimensional array can hold more than one set of data. This type of array is like a table, with data held in rows and columns. The following array would hold ten scores for two players.