Using and Creating Lists For an ArrayList to be used, it first needs be imported into the program. This is achieved by including the command import java.util.ArrayList; at the top of the program.
Arrays in Java work just like other arrays in other languages. They are just a simple collection of "like" values such as strings, ints, floats, ect. You need an include import java.util.Arrays; to ...