• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrapper classes

 
Venkat Ramsimha
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody

Can anybody tell me what are 'wrapper classes ' and there usage in the program.also within the wrapper classes i would like to know what are the methods defined.can anybody describe within the program the implementation of the defined wrapper methods.


looking forward....

tx
carl(in hunt of SCJP1.4)
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
int is a datatype & for this wrapper class is Integer .

int i = 7 ; // integer datatype
Integer i1 = new Integer(7); // integer object
 
Jay Pawar
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carl,
Which book are you studying for the exam ? K&B book has really nice information on wrapper classes.

I hope you are not the West Indies cricket bowler. just kidding
[ January 08, 2005: Message edited by: Jay Pawar ]
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"I hope you are not the West Indies cricket bowler."

Well, that could explain a lot of things...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic