News

This time, we’ll use the List interface and its method .forEach in combination with the Consumer functional interface. Suppose you have a list of Mascot objects.