This is an article for new Java developers. New Java developers have a tendency to write methods that take ArrayList as a parameter, return it as a type, and use them on the left hand side of assignments. Doing this violates Java best practices and I’m going to teach you what you should do instead and why.