Each element of an array
has a number associated with it
starting from 0
and is
known as the index of that element.
It is used to indicate
the position of an element
within the array.
That is why we say
an array is indexed.
The image below conveys how the
array indexes are associated.
We can access an element by
specifying its index
in square brackets.
Since indexing starts from 0,
it's important to note that,
when we say the second element
of an array, it is the element
at the index 1
.