in Education by (55.8k points)

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

1 Answer

0 votes
by (55.8k points)

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

The 'sorted' method is used to sort the stream.

...