aspose file tools
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "wrapper class " Watch "wrapper class " New topic
Author

wrapper class

sam mitwa
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: wrapper class