Answer is C.
Stream.of() gives Stream<Integer> or Stream<Double>, not IntStream or DoubleStream. So A and C are incorrect.
And Stream hat no method average(). So D is incorrect too.
The answer is letter b, it cannot be C using the method in the second line "getAsDouble()".
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.1z0-809 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Chiraj
Highly Voted 4 years, 3 months agoAbdullah_Rahahleah
Highly Voted 4 years, 5 months ago6c84cb9
Most Recent 9 months agoDarGrin
1 year agoasdfjhfgjuaDCV
1 year, 2 months agosteefaand
1 year, 4 months agoiSnover
1 year, 4 months ago