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
What is the difference between yielding and sleeping in java programming?
Name few java util classes introduced with java 8 ?
What are scriptlets?
How does finally block differ from finalize() method?
In case of inheritance what is the execution order of constructor and destructor?
What is substring 1 in java?
Can we create our own daemon thread?
What is jit and its use?
What is compareto () in java?
What are different types of arrays?
What is flag in java?
Describe how to implement singleton design pattern in struts.
What is scope of a variable?
What are streams?
What are the four versions of java?