Arrays

Learn how to achieve immutability principles with objects.

We'll cover the following...

Arrays are a bit trickier because they have multiple methods for adding and removing values. In general, you have to remember which methods create a new copy of the array and which change the original one.

Methods

The following table outlines the basic array ...