Skip to content

When a stream actually runs

java students.stream() .filter(s -> { System.out.println("checking"); return s.getScore() > 80; }) .map(Student::getName);

What is printed?