An array is one of the basic data structures used in computer programming. An array contains a list (or vector) of items such as numeric or string values. Arrays allow programmers to randomly access data. Data can be stored in either one-dimensional or multi-dimensional arrays.
A one-dimension array seven (7) elements would be:
An example of two-dimensional array, 7 by 3 elements in size, would be: