The sorted means basically the values are in list systematically in order . like if we would like to take a alphabetical order the A comes before b and f comes before g.
For a collection of String objects, then, the natural order is alphabetical.
For Integer objects, the natural order is by numeric value
By:umang
Date:2013-03-09 00:00:00
Overriding hashCode() and equals()
What It Means if we Don\'t Override equals()
Implementing an equals() Method
So What Do we Do with a Collection?
Key Interfaces and Classes of the Collections Framework
Overview of Memory Management and Garbage Collection
Overview of Java\'s Garbage Collector
When Does the Garbage Collector Run?
How Does the Garbage Collector Work?
Reassigning a Reference Variable