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

Open 1 Answers 122 Views Education

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

1 Answer

0

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

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

by (53.7k points)
...