This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I need to pass an array as an argument to a method, and I'm not sure how to code it. Does it go something like this: private void methodName (array arrayName); Example: private void hungryMonster (array slimyThings);
Do I need to specify the data type of the array in the argument to the method? Or is this not a concern since the data type of the array was defined when it was created? Also, is there a way to "import" an array into an object so it's values can be accessed just like the object's member varaibles? Thanks for any help, Landon