The exception is thrown only at runtime when the indexing value becomes greater than the array size. Indexing starts from 0. The compiler cannot check this error during compile time.
a measure of a number of origin irrespective of the sign
Formula of perimeter of a square of side 'a'
a + a + a + a = 4a