Question 93 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 93 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Given the code fragment:

List<string> li = Arrays.asList("Java", "J2EE", "J2ME", “JSTL", "JSP", “Oracle DB");
Predicate<String> val = p -> p.contains("J")
List<String> neLi = li.stream().filter(x -> x.length()> 3)

-filter (val) .collect (Collectors.tobist ())
System. out .print1n(neLi) ;

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.