May 24, 2019 in JAVA

What is meant by Ordered and Sorted in collections?


It means the values that are stored in a collection is based on the values that are added to the collection. So we can iterate the values from the collection in a specific order.


Sorting mechanism can be applied internally or externally so that the group of objects sorted in a particular collection is based on properties of the objects.

Related questions

0 votes
May 24, 2019 in JAVA