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
Does importing a package imports its sub-packages as well in java?
What are the topics in core java?
Differentiate between stringbuffer and string?
What is prefix of a string?
What is a predicate method?
can any body body expalin best definitions & best real time exaples for opps concepts.
How can we make sure main() is the last thread to finish in java program?
How an object is serialized in java?
When can you say a graph to be a tree?
What is a null class?
What exactly is a .class file?
What are mutable classes?
What is core java called?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What are the basic interfaces of java collections framework?