An array is a collection of data that holds a fixed number of values of the same type. Arrays allow storing multiple values in a single variable. One-dimensional arrays can store lists of items, while two-dimensional arrays can store data in a table with rows and columns. Elements in an array are accessed using indices, with the first element having index 0. The size and type of an array is fixed after declaration.
Related topics: