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
About Question enthuware.ocpjp.ii.v11.2.3333 :
Moderators: Site Manager, fjwalraven
-
- Posts: 62
- Joined: Fri Aug 07, 2015 2:16 pm
- Contact:
-
- Site Admin
- Posts: 10090
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3333 :
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!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 11 guests