aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Util Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Util" Watch "Util" New topic
Author

Util

Kaushik Badiyani
Greenhorn

Joined: Jun 07, 2001
Posts: 27
Can somebody cite me the difference between HashMap and HashTable

Thanx
Kaushik
George Pincharoen
Ranch Hand

Joined: Jul 03, 2001
Posts: 45
The HashMap roughly equivalent to HashTable, except
that it is unsynchronized and permits nulls
Kaushik Badiyani
Greenhorn

Joined: Jun 07, 2001
Posts: 27
George Apart from that r there any other differences.
These are the basic ones
swati bannore
Ranch Hand

Joined: Oct 18, 2000
Posts: 201
this is what I know-
HashMap -
1) Do Not guarantee order of map
2) It Allows NULL
3) Not Synchronized
HashTable-
1)It is Synchronized
2)Does NOT allow NULL
thx

Swati Kale
SCJP
SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Util