I_NEED_HELP Posted February 8, 2005 Report Share Posted February 8, 2005 hi having some problems with java again. Can anyone tell me how to pass a 2D array between two classes. I am unsure have tried a couple of things but none of them seem to be working. Can anyone we are moved from talk talk (anon) Quote Link to comment Share on other sites More sharing options...
phunni Posted February 8, 2005 Report Share Posted February 8, 2005 NOt sure exactly what you mean by a 2D array, but any Object (which includes an Array) can be passed via a simple method call - i.e.: myRecievingObject.setArray(myArray); BTW - you might be better off posting these questions in the programming section of the board in future... ;) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.