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 |
Explain 5 features introduced in jdk 1.7?
What is private public protected in java?
Can a class declared as private be accessed outside it’s package?
Which language is java?
How do you check if two strings are equal in java?
What are the ways to instantiate the class class?
Which data type is class in java?
What is a map in java?
What are the OOAD concepts in java explain with examples?
Explain the use of volatile field modifier?
What do bitwise operators do?
How do you start a thread?