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 a lambda expression?
Think about shorthand function implementations.
What does the Optional class help prevent?
Consider how you handle null values.
What is a lambda expression?
It's related to functional interfaces.
True or False: Optional helps manage nullable values.
Think about what happens when a variable is null.
Create a function that takes a list of strings and returns a list containing only those that have more than 3 characters. Use streams.
Use the `filter()` method correctly.
Write a pure function that accepts a list of integers and returns the sum, ensuring it does not alter the original list.
Think about how to use reduce without modifying input.
7 more questions in this section. Enroll free to practise them all.
Enroll free