I wanted to create a list of options for testing purposes. At first, I did this: ArrayList<String> plac
I've always been one to simply use: List<String> names = new ArrayList<>(); I use the inte
I have an array that is initialized like: Element[] array = {new Element(1), new Element(2), new Element(3)};