creating and returning an array from a method

Posted by Troy on Stack Overflow See other posts from Stack Overflow or by Troy
Published on 2010-04-04T08:07:41Z Indexed on 2010/04/04 8:13 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

howdy,

i currently have a method that checks what is around the centre item in a 3x3 grid, if what is in the 8 adjacent positions is containing what i am checking for i want to mark that square on an array with length 7 as being 1.

to do this i need to create and return an array in my method, is it possible to do this?

© Stack Overflow or respective owner

Related posts about method

Related posts about java