Can any one say how will sort map objects in java?
Answers were Sorted based on User's Feedback
Answer / guest
In map we have TreeMap ,which sort objects as natural
order.and don't allow duplicate keys and null values
| Is This Answer Correct ? | 4 Yes | 0 No |
What is the difference between a field variable and a local variable?
What is void data type?
When should I use stringbuffer?
What is the longest unicode character?
What if I write static public void instead of public static void in java?
What is constant in programming?
what do you mean by java annotations?
How we can execute any code even before main method?
what is thread in Java ?
what are the rules to use try catch finally?
how and when compiler knows that the Java code throws the checked Exception.
What is difference between string and stringbuffer?