• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

On non-existent merge() method mentioned in an exam topic in Stream - for IZ0-809 exam

 
Author
Posts: 93
14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The last exam objective under "Java Streams" section in IZ0-809 exam (Java 8 exam) reads:

"Use of merge() and flatMap() methods of the Streams" - Exam topics are here

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?
 
Bartender
Posts: 2236
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It doesn't say merge() and flatMap() methods of the Streams.
It says Use of merge() and flatMap() methods of the Stream API.

I believe they assumed Map.merge() belongs to Stream API.
 
S G Ganesh
Author
Posts: 93
14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My friend Hari Kiran posted it in StackOverflow and Stuart Marks from Oracle fixed it. The exam objective now reads as: "Use flatMap() methods in the Stream API": http://stackoverflow.com/questions/33277794/on-non-existent-merge-method-mentioned-in-an-ocpjp-8-exam-topic-in-stream-iz
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic