Define an array.
An array is explained as a homogeneous collection of elements, stored at contiguous memory locations, which can be referred by the similar variable name. All the elements of an array variable can be accessed by index values. An Index value specifies the position of a certain element in an array variable.