Search:

Type: Posts; User: Sean4u

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,389

    Re: Testing values in an array.

    Are you sure that works? It looks to me as though it could use a few more 'else ifs'. Are you implementing Conway's Game Of Life? One sure way to check if your implementation is correct is to set the...
  2. Replies
    7
    Views
    1,389

    Re: Testing values in an array.

    One way to do it would be to catch the ArrayIndexOutOfBoundsException. Another would be to use if statements to test your array indexes before you use them. Yet another would be to replace the...
Results 1 to 2 of 2