O

Java SE 8 Programmer II

196 Questions

You can start the exam to practice all questions related to this exam.

Question No. 1

Given the code fragment:
List<String> nL = Arrays.asList(“Jim”, “John”, “Jeff”);
Function<String, String> funVal = s -> “Hello : “.contact(s);
nL.Stream()
.map(funVal)
.peek(System.out::print);
What is the result?

Choose the correct option from the given list.
01 / 196

0 Discussions

Trending Exams