• Post Reply Bookmark Topic Watch Topic
  • New Topic

boxing,unboxing,for each and varargs  RSS feed

 
donny khosa
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can I rewrite the following using boxing,unboxing,for each and varargs in java!!!I am very new to Java please help
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know what boxing,unboxing,for each and varargs mean ? If so, you should at least be able to identify which parts of the code could be rewritten to use them. If not, then you need to read a tutorial and learn about them.
You should then be able to identify which bits of the code can be rewritten. Once you've done this, have a go at the rewrite and let us know if you have any problems.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!