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
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830
this week in the
Programmer Certification
forum!
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:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
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: 79969
396
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.
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...