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.
Define what a Predicate
Think of it as a check or condition.
What is the purpose of a Supplier
Consider it as a source of values.
What is a Predicate
Think about its main purpose in logic.
True or False: A Supplier
Consider how it generates value.
Write a series of lambda expressions that demonstrate the use of Predicate, Function, and Consumer on a list of Strings.
Consider how you can leverage all interfaces in a single operation.
Design a BinaryOperator that combines two products based on price, sorting them and returning the more expensive one.
Consider the comparison logic that determines which product is more expensive.
5 more questions in this section. Enroll free to practise them all.
Enroll free