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 |
Why main method is static in java?
What are data types in oop?
What is the final keyword in java?
What is an interoperable application in java ?
Explain about member inner classes?
What do you understand by an io stream?
Why java is platform independent? Explain.
How variables are declared?
What is bufferedwriter?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is a variable declaration?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?