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 are the benefits of immutable objects?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What are the 4 types of characters?
Why do we need wrapper classes?
Why is core java important?
What is thread pool in java with example?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
How is the marker interface used in Java?
What does split function do in java?
Why is it called a string?
Are strings immutable in java?
Why we use multi threading instead of multiprocessing?
Describe the process as to how substring() methodology mechanisms in java.
Is void a keyword in java?
Is java 11 paid version?