Oracle
1Z0-819 · Question #82
1Z0-819 Question #82: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-819 to reveal the answer and full explanation for question #82. The question stem and answer options stay visible for context.
Question
Given
int arr[][] = {{5,10},{8,12},{9,3}};
long count = Stream.of(arr)
.flatMapToInt(IntStream::of)
.map(n -> n + 1)
.filter(n -> (n % 2 == 0))
.peek(System.out::print)
.count();
System.out.println("\n" + count);
What is the result?
Options
- A6910103 7
- B10126 3
- C10126 7
- D6104 3
Unlock 1Z0-819 to see the answer
You've previewed enough free 1Z0-819 questions. Unlock 1Z0-819 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.