Modify objects in objectsB array

(Display Listing 3.)

After that, the program executes another for loop to cause the objects in the array named objectsB to move forward by one meter and to be colored orange.

The same set of five objects moves and turns orange, illustrating that:

Even though there are two arrays involved, there is only one set of objects.

Setting the value of one array to another array doesn't make a copy of the content of the original array.

Rather, it simply creates another array whose elements refer to the contents of the elements of the original array.