This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

valid superclass for defining a custom wrapper type?  RSS feed

 
Greenhorn
Posts: 14
Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
valid superclass for defining a custom wrapper type?

thinking integer?
 
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Integer is a final class, so you can't use that as a base class. As to what you should use - it depends what it's for.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!