0 votes
266 views
in Java by
What is the use of limit method in java 8 stream?

1 Answer

0 votes
by (2.8k points)
In java 8 we can use limit() method for following reason:-

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

Share:- Whatsapp Facebook Facebook


Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.

Categories

...