in Education by (55.8k points)

What is the purpose of Consumer<T> functional interface in Java8?

1 Answer

0 votes
by (55.8k points)

What is the purpose of Consumer<T> functional interface in Java8?

It represents an operation that accepts a single input argument and returns no result.

Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)
0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)
...