In this chapter, you will learn about arrays, their built-in properties, and how to retrieve, add, and remove elements from them.
Introduction
An array is simply a container that can hold multiple data (values) of any data type in an ordered list; this means that you get the elements in the same order as you defined the items in the array. Instead of declaring individual variables, such as number0, number1, and so on … until number99, you declare one array variable such as numbers and use numbers[0], numbers[1], and numbers[99] to represent individual variables.