Collecting & Aggregating Streams Quiz
The questions in this quiz on Java are on the topics covered in the Streams section of the site. The table below lists the lesson used for each quiz, a description of the lesson content and the quiz number and questions associated with that lesson.
Click on a lesson in the table to go to that lesson for a refresher on the topics for that quiz.
Click on a quiz in the table to go straight to the quiz for a particular lesson.
|Generics Lessons||Description||Quiz Info.|
|Lesson 1 - Introducing Streams||In our first lesson on on Streams we test your knowledge of the topics covered in the Introducing Streams lesson.||Quiz1|
|Lesson 2 - Stream Pipelines||In this lesson on streams we look at stream pipelines and how they work.||Quiz2|
|Lesson 3 - Stream Operations Overview||In this lesson on streams we present an overview of the intermediate and terminal operations available.||Quiz3|
|Lesson 4 - Array Type Streams||In this streams lesson we look at the various ways of creating streams from arrays.||Quiz4|
|Lesson 5 - Numeric Streams||In this lesson on streams we look at numeric streams and the operations associated with them.||Quiz5|
|Lesson 6 - Other Stream Creation||In this lesson we take a final look at stream creation by creating streams from files, functions and iterations and also find out about creating infinite streams.||Quiz6|
|Lesson 7 - Finding & Matching||In this streams lesson we look at the various ways of finding and matching values within our streams.||Quiz7|
|Lesson 8 - Reduction Operations||In this streams lesson we look at reduction operations and how to use them.||Quiz8|
|Lesson 9 - Stream Collectors||In this lesson we take a high level look at stream collectors by investigating the ||Quiz9|
|Lesson 10 - Collecting & Aggregating Streams||In this lesson we look at how to create collections and aggregations from our streams.||This quiz.|
|Lesson 11 - Grouping & Partitioning Streams||This lesson on streams is all about grouping & partitioning our streams.||Quiz11|
|Lesson 12 - Parallel Streams||This lesson is all about parallel streams.||Quiz12|
Streams Quiz 10
The quiz below tests your knowledge of the material learnt in Streams - Lesson 10 - Collecting & Aggregating Streams.
Collectorsmethod concatenates input elements into a
toMap()method can deal with duplicate keys?
Collectorsclass offer implementations of?
Collectorsclass are imported statically?
sorted()method of the
sorted()method of the
Streaminterface is a terminal operation?
In the next quiz we test your knowledge of grouping and partitioning our streams.