Manually create two empty arrays

(Display Listing 3.)

Two empty arrays of type Object are created.

The first array, named objectsA is given five empty elements.

The second array named objectsB is given one empty element.