in Education by (55.8k points)

What is the purpose of limit method of stream in Java 8?

1 Answer

0 votes
by (55.8k points)

What is the purpose of limit method of stream in Java 8?

The 'limit' method is used to reduce the size of the stream.

Related questions

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