0 votes
in Java by
What is the use of sorted method in java 8 stream?

1 Answer

0 votes
by (2.8k points)
In java 8, sorted() method:- The 'sorted' method is used to sort 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.