About Question enthuware.ocpjp.ii.v11.2.3333 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
sir_Anduin@yahoo.de
Posts: 62
Joined: Fri Aug 07, 2015 2:16 pm
Contact:

About Question enthuware.ocpjp.ii.v11.2.3333 :

Post by sir_Anduin@yahoo.de »

The explanation for
double average = nums.parallelStream().mapToInt(i->i).average();
seems to be wrong.
there is no method parallelStream() on the Stream interface

see:
https://docs.oracle.com/en/java/javase/ ... tream.html

admin
Site Admin
Posts: 8913
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.ii.v11.2.3333 :

Post by admin »

You are right. The explanation to this option should mention this as well along with the other reason that it mentions. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests