News

Note that the forEach method in Java’s Iterable interface (which List extends) expects a single argument that matches the Consumer functional interface you saw in a previous example.