![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
Difference between HashMap and TreeMap
asked by: maxpwnge on: Jul 22, 2009
HashMap will not store the elements in order.Whereas TreeMap stores in order.so while retrieving we will get in a particular order.But for HashMap we won't.
mushixx2 answered on:Jul 24, 2009 0 comments
good
peanut_breath answered on:Jul 26, 2009 0 comments
1> Treemap are sorted map while hashmap are not
aj5122003 answered on:Jul 27, 2009 0 comments 
The following link provides a table with details of collections in java.
razor90 answered on:Jul 29, 2009 0 comments 
happy2smile answered on:Jul 30, 2009 0 comments