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
How do you clear a list in java?
What is the main method java?
What is boolean query?
What is the difference between preemptive scheduling and time slicing?
Write the algorithm to check the number non-leaf nodes in a tree.
Can we use different return types for methods when overridden?
Can we make main() thread as daemon?
Is empty in java?
How is java created?
What is the difference between abstract class and interface1? What is an interface?
I want to store more than 10 objects in a remote server? Which methodology will follow?
What is anti pattern in programming?
What is the purpose of nested class in java?
what is encapsulation in java? Explain
What is difference between local variable and global variable?