Can any one say how will sort map objects in java?
Answer Posted / 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 |
Post New Answer View All Answers
Is static variable stored in heap?
What is meant by interface?
What is a generic type?
What is the default size of arraylist in java?
how to convert Java project into Maven ?
Explain the key functions of data binding?
Explain about the select method with an example?
Difference between concurrent hashmap and hashtable and collections
Why array is used in java?
Is Java a dying language?
When is update method called?
State the significance of public, private, protected class?
Why javac is not recognized?
Can you extend main method in java?
I don’t want my class to be inherited by any other class. What should I do?