Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Java by (6.5k points)
Don't they mean the same thing?

1 Answer

0 votes
by (11.3k points)

No, they aren't the same thing:

  • The collection which is ordered can be iterated upon in specific order as required. The collection is based on the values that are added. 
  • When a collection is arranged in an ascending or descending order of the values stored within them, it is called sorted
   

Both categories of collections are widely used and have different implementations. If you're looking to learn java, consider using both for your projects and learn them as you progress in your learning path. 

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...