javajava-8scjpocpjp

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


The last exam objective under "Java Streams" section in 1Z0-809 exam (Java 8 exam) reads:

Use of merge() and flatMap() 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?


Solution

  • 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.