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 |
How would you use Bubble Sort to sort the number of elements?
why Interface used?
What is a file pointer?
What does \ mean in regex?
whatis Home interface and Remoteinterface? with example?
What is dynamic binding(late binding)?
Is void a type?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
how to compile jsp?
why to use transient variables when static variables can be used for Serialization
Write a java program to count the number of words present in a string?
What is the use of set in java?