How to make a new List in Java - Stack Overflow
We create a Set as: Set myset = new HashSet() How do we create a List in Java? ... I almost always used ArrayList. If I'm only working with the the ends of a list, it's a deque (or queue) and I use the ArrayDeque implementation....