Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What is the purpose of a Java Stream?
Think about how streams work with data.
Name one intermediate operation on streams.
These operations return a stream.
What does a Java Stream do?
Think about the role of streams in Java.
True or False: Lambda expressions can have multiple abstract methods.
Recall the definition of functional interfaces.
Compute the average of a list of integers using Java Streams. Show how you would handle this with lambda expressions.
Think about how to convert the list to a primitive stream for average calculation.
Create a stream from a list of names and filter out names that have less than 5 characters, then sort them by length. Develop this using both streams and lambda expressions.
Focus on filtering criteria and how to sort in conjunction with streams.
6 more questions in this section. Enroll free to practise them all.
Enroll free