Arrays are used to store lists of items in Java. For example, an array might store a list of names or cities. An array can be created and initialized in one Java statement. Alternatively, an array can be instantiated and then populated one element at a time. To understand how to work with arrays in Java, follow these four steps.