Home > DeveloperSection > Interviews > What is the difference between HashMap and TreeMap?

Posted on    May-12-2015 11:52 PM

 Java Java  Collection 
Ratings:
 1 Answer(s)
  417  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    May-12-2015 11:52 PM

HashMap maintains no order but TreeMap maintains ascending order.

Don't want to miss updates? Please click the below button!

Follow MindStick