• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrapper class

 
sam mitwa
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of making class(wrapper class )
of primitive data types
please help me
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't store primitives in a Collection. Have to wrap them. Same with using them as keys for maps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic