Given:
and:
Which code, when inserted on line 10, prints the number of unique localities from the roster list?
.map(Employee::getLocality)
.distinct()
.count();
map(e −> e.getLocality())
.map(e −> e.getLocality())
.collect(Collectors.toSet())
.filter(Employee::getLocality)
Submit