FP Flashcards

1
Q

Name four functional interfaces

A

Consumer: single argument, no return value
Function: one argument, produces a result
Predicate: takes one argument, returns Boolean
Supplier: no input, but supplies output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly