Consumer Functional Interface

This lesson explains the basics of Consumer functional interfaces.

We'll cover the following...

Consumers are functional interfaces that take in a parameter and do not produce anything.

Below are some of the functional interfaces which can be categorized as Consumers.

Consumer<T> Represents an operation that accepts a single (reference type) input argument and returns no result void accept(T t)
...