How to sort the elements in HashMap
Answer Posted / srinivasa
By implementing comparable interface we can sort the
HashMap
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is meant by method overriding?
What is meant by design patterns?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Why do we need data serialization?
Why parsing is done?
What is the difference between static method and instance method in Java?
What makes a function well defined?
What is difference between core java and java ee?
Can we start a thread twice in java?
What is a databasemetadata?
What is maximum size of arraylist in java?
How large is a boolean?
How can we run a java program without making any object?
Java Compiler is stored in JDK, JRE or JVM?
What is the difference between exception and error in java?