File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes diff betwen Hasp Map and Hash Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "diff betwen Hasp Map and Hash Table" Watch "diff betwen Hasp Map and Hash Table" New topic
Author

diff betwen Hasp Map and Hash Table

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
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

Joined: Oct 13, 2005
Posts: 36508
    
  16
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
 
subject: diff betwen Hasp Map and Hash Table
 
Similar Threads
Storing ActionForm&action class-WHERE?
How to create a hash map from an array?
Doubt in Hash Map and Hash Table
Difference Between hashmap and Property class
Sorting Maps