one-dimensional array

A one-dimensional array is a type of linear array. Unlike a variable, it can store more than one value for related data items. It’s elements can be accessed using an index.

For example, an array called myArray with a size of 10 (meaning it stores 10 elements), the array element indices would be 0-9 inclusive (in most programming languages). To access the first element you would use the expression myArray[0] and to access the last element you would use the expression myArray[9].