Q: 11
Given the code fragment: List empDetails = Arrays.asList(“100, Robin, HR”, “200, Mary, AdminServices”,“101, Peter, HR”); empDetails.stream() .filter(s-> s.contains(“r”)) .sorted() .forEach(System.out::println); //line n1 What is the result?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
What is the result?
and the code fragment:
What is the result?
Given the code fragment:
Assume that the URL, username, and password are valid.
What is the result?
Which two code fragments, when inserted at line n1 independently, result in the output PEEK: Unix?