This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Map" Watch "Map" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Does Map allow duplication?
Paul A
Ranch Hand

Joined: Aug 25, 2000
Posts: 44
Map stores key-value pairs. It can store same value more than once under different keys but does not store one key more than once!

Get Certified, Guaranteed!

<A HREF="" TARGET=_blank rel="nofollow"></A> <BR>Get Certified, Guaranteed!
I agree. Here's the link:
subject: Map
It's not a secret anymore!