This homework is about learning to use the ArrayList and LinkedList classes and iterators on these. The task is to write the code for the three generic methods union , intersection , and addToList in this incomplete program . What those methods are supposed to do is specified as comments to these methods. The invocation of these methods within main should clarify the picture further.