🚲4. get list name of person

        List<String> names = characters
                .stream()
                .map(Person::getName)
                .collect(Collectors.toList());

Last updated

Was this helpful?