This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Wrappers with String and Collections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrappers with String and Collections" Watch "Wrappers with String and Collections" New topic
Author

Wrappers with String and Collections

Sekhar Choudary
Ranch Hand

Joined: May 03, 2008
Posts: 57


I am getting the size as 3
Can anyone expalin this.
Thanks
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18545
    
  40

To understand why this is so, you need to understand hashing. And since you asked about hashing here...

http://www.coderanch.com/t/269877/java-programmer-SCJP/certification/Help-hashcodes

I think it is best if you undertand that first.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wrappers with String and Collections
 
Similar Threads
I am finding hashing a bit confusing please it in a bit detail
Hashcodes in hashset
HashSet Duplicate element ?