Which of the following collection maintain its elements in Natural Sorted order ? <br/><br/> a. HashMap<br/> b. TreeMap<br/> c. LinkedHashMap<br/> d. LinkedMap<br/>
Javasearch.buggybread.com

Search Interview Questions


 3372 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java - Interview Questions and Answers

 Q1. Which of the following collection maintain its elements in Natural Sorted order ?

a. HashMap
b. TreeMap
c. LinkedHashMap
d. LinkedMap
Anonymous
Ans. TreeMap

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     treemap   collections   java   sorted collections   map


Related Questions

  Which are the sorted collections ?
  If we add Enum constants to a sorted collection ( Treemap , TreeSet ), What will be the order in which they will be maintained ?
 Which data structure would you recommend for ordered and sorted data?
 What is the difference between TreeSet and TreeMap ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: