1In general (and in Java) an array is a data structure generally
2consisting of sequential memory storing a collection of objects.
3
4List is an interface in Java, which means that it may have multiple
5implementations. One of these implementations is ArrayList, which
6is a class that implements the behavior of the List interface using
7arrays as the data structure.