This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diff betwen Hasp Map and Hash Table

 
jacob deiter
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between hash Map and Hash Table.Why we use Map in our application.Why can't we use array list in entire application.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47279
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HashMap and Hashtable: please note the spellling.

Look in the API documentation for HashMap and Hashtable. The first line under HashMap tells the main differences, about synchronisation and about nulls.

A Map is completely different from an ArrayList. Go through the Collections part of the Java Tutorial and see the difference between a Map and a List.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic