Reputation: 23
The last exam objective under "Java Streams" section in 1Z0-809 exam (Java 8 exam) reads:
Use of
merge()
andflatMap()
methods of the Streams
There is no merge()
method in Stream
interface!
There is a merge(Object, Object, BiFunction)
method in Map
but the exam objective clearly says "merge()
and flatMap()
methods of the Streams". Of course there is a flatMap()
method in Stream
interface. So what am I missing? Is the exam objective wrong? If its a mistake in the exam objective, how to contact Oracle for reporting this problem?
Upvotes: 2
Views: 161
Reputation: 26
Saw that it got fixed in the exam objectives - http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-809
Thank you Stuart Marks.
Upvotes: 1
Reputation: 100209
I guess it's a mistake in exam objectives. Even in prerelease Stream API versions there were no merge()
method. Also according to the public sources, there are no plans or even proposals to add such method in future Java versions. Probably map()
method was meant or something else.
Upvotes: 1