Hello,
I'm not sure if I understood why sum() is not marked as one possible solution for this question, since the explanation specifies sum(), max() and count() as possible specialized solutions. Could you clarify that for me please?
Thanks.
About Question enthuware.ocpjp.v8.-2-.1738 :
Moderator: admin
-
- Posts: 3
- Joined: Wed Jan 29, 2014 5:42 pm
- Contact:
Online
-
- Site Admin
- Posts: 10061
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1738 :
The explanation given with this option specified exactly why it is an incorrect option-
This is a valid reduction operation but it is not in java.util.stream.Stream interface.
Methods to sum up the numbers in a stream are available in specialized Stream interfaces such an IntStream, LongStream, and DoubleStream.
If you like our products and services, please help us by posting your review here.
-
- Posts: 3
- Joined: Wed Jan 29, 2014 5:42 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1738 :
For some reason the explanations in blue were not being shown in a couple of questions the last time I opened ETS Viewer, but now I can see them for every option in the question. Thanks.
Who is online
Users browsing this forum: No registered users and 101 guests