1Z0-809 Web TestEngine demo

Exit VCEDump 1Z0-809 Java SE 8 Programmer II
Question 15 of 32
0% complete
Q15 Single choice

Given the code fragment:

UnaryOperator<Double> uo1 = s -> s*2; //line n1
List<Double> loanValues = Arrays.asList(1000.0, 2000.0);
loanValues.stream()
.filter(lv -> lv >= 1500)
.map(lv -> uo1.apply(lv)) //line n2
.forEach(s -> System.out.print(s + " "));

What is the result?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in