Loading…
Loading…
A 20-question mixed review of OCP Java 21 Chapter 10: Optional, stream pipelines and laziness, terminal and intermediate operations, primitive streams and their optionals, summary statistics, and collectors including toMap, groupingBy, partitioningBy and teeing.
A mixed review of Chapter 10: Streams. Take it after finishing the chapter, from Java Optional to Java Collectors.
Several questions combine rules from different articles, as the real exam does. All questions follow Java 21 rules. Aim for at least 15 out of 20 (75%) before moving on to Chapter 11.
Quiz path: step 75. Take the quizzes in this order, after reading each article.
Previous quiz: Collectors, Grouping and Partitioning (OCP 21)
Next quiz: Checked and Unchecked Exceptions (OCP 21)
20 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.