The array is an ordered collection of objects or primitive types. It’s hard to imagine an application that doesn’t use this data structure.
Working with arrays consists in the following phases:
- Initialize the array and setup the initial elements
- Access the array elements by index
- Add new elements
- Remove existing elements
source: Dmitri Pavlutin