This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Wrappers with String and Collections" Watch "Wrappers with String and Collections" New topic

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.
Henry Wong

Joined: Sep 28, 2004
Posts: 20043

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

I think it is best if you undertand that first.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
I agree. Here's the link:
subject: Wrappers with String and Collections
It's not a secret anymore!