// "Replace with forEach" "true" import java.util.*; public abstract class Collect implements Collection<String>{ class Person { String getName() { return ""; } } void collectNames(List<Person> persons){ persons.stream().map(Person::getName).forEach(this::add); } }