Arrays or array lists are used when we have a collection of the same types of objects and we want to hold them. Both arrays and array lists have super-fast random access because of using index's.
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 ...