• Post Reply Bookmark Topic Watch Topic
  • New Topic

cast code so that i could receive the amount being returned from a method?  RSS feed

 
naved momin
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to explicitly cast this code so that i could receive the amount being returned from a method ?
 
fred rosenberger
lowercase baba
Bartender
Posts: 12529
48
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a short can only be up to 32k. I don't think there is anything you can do but change the return type of the method.

I won't swear to that, but i believe it is the case.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!