File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes wrapper class 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 "wrapper class " Watch "wrapper class " New topic

wrapper class

sam mitwa

Joined: Mar 27, 2005
Posts: 13
what is the use of making class(wrapper class )
of primitive data types
please help me
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
Can't store primitives in a Collection. Have to wrap them. Same with using them as keys for maps.
I agree. Here's the link:
subject: wrapper class
It's not a secret anymore!