Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
returning multiple variables from java method
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
nanfh
New Member
Join Date:
Sep 2012
Posts:
1
#1
returning multiple variables from java method
Sep 22 '12, 02:57 AM
Code:
public int getCellColourIndex(int row, int col) { return ???;
the thing is here i have to return (int)
help please urgent
Last edited by
Rabbit
;
Sep 22 '12, 06:25 AM
.
Reason:
Please use code tags when posting code.
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#2
Sep 22 '12, 06:27 AM
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;
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment