InterviewSolution
Saved Bookmarks
| 1. |
What do you mean by Ordered and Sorted in collections in Java? |
|
Answer» In an ordered collection, the elements have a specific order, which is independent of the value. For EXAMPLE a List. In the SORTED collection, the collection has an order, and the order depends on the value of the ELEMENT. For example a SortedSet. Developers should know everything about core java programs before their NEXT interview. |
|