By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,806 Members | 1,380 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,806 IT Pros & Developers. It's quick & easy.

returning multiple variables from java method

P: 1
Expand|Select|Wrap|Line Numbers
  1. public int getCellColourIndex(int row, int col) {
  2.     return ???; 


the thing is here i have to return (int)

help please urgent
Sep 22 '12 #1
Share this Question
Share on Google+
1 Reply


Rabbit
Expert Mod 10K+
P: 12,422
Please use code tags when posting code.

I have no idea what you're trying to do. Your title is different from what you describe in your thread so I have no idea what you're actually wanting to do. If you just want to return an integer, then do that. This returns the integer 10. return 10;
Sep 22 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.