File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Regarding hashmap comparison with hashtable.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding hashmap comparison with hashtable.." Watch "Regarding hashmap comparison with hashtable.." New topic
Author

Regarding hashmap comparison with hashtable..

Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 202

Hi Folks,

Please advise me that various major practical differences between hashmap and hashtable..!!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10255
    
    8

Did you look at the API docs?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1505
    
    5

Saral Saxena wrote:Hi Folks,

Please advise me that various major practical differences between hashmap and hashtable..!!

Did you try to go through JavaDocs for HashMap and Hashtable? Also, did you searched over the internet?

Is there any specific point(s) which you did not understand?


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Manoj Kumar Jain
Ranch Hand

Joined: Aug 22, 2008
Posts: 191

Saral Saxena wrote:Hi Folks,

Please advise me that various major practical differences between hashmap and hashtable..!!

Saral I am really sorry to say but sometime it really seems very funny that you post the question those makes me feel like I am attending an interview. Or there is some kind of subjective paper is going on JavaRanch.
Please post the specific question that can be answer in short and doesn't required to write an essay.


Do not wait to strike till the iron is hot; but make it hot by striking....
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14111
    
  16

Here is the documentation of HashMap and here is the documentation of Hashtable.

Please read those and let us know what you think is the difference.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38363
    
  23
You only need to read one, because it says what the differences are
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Regarding hashmap comparison with hashtable..