Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Java in General
Regarding HashMap & Hashtable
susma sahoo
Greenhorn
Posts: 4
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
As we know as per
java
api hashmap can take null values but hashtable can't.So my question is why it is like this why java pepole allowed null in HashMap not in Hashtable.Is there any specific reason behind it.
Thanks
bart zagers
Ranch Hand
Posts: 234
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you find
this
thread
about this topic?
[ May 27, 2008: Message edited by: bart zagers ]
susma sahoo
Greenhorn
Posts: 4
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I went through the link that you provided above.To some extend i am convinced with the answer.
Thanks for same.
Susma
Campbell Ritchie
Marshal
Posts: 80618
469
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please ask about the bits you don't understand, and we shall try our best to answer.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
HashMap and HashTable
Hashtable vs. HashMap
Why hashMap Allwos one Null Keys and Multiple Null Values ? While hashtable doesnot !
HashTable and HashMap
Hashtable doesn't allow null value and HashMap allows only one null as key
More...