9 Apr 2015 by Duncan Edwards Jones
You have created an array to hold tasks, but not actually put any tasks in it.Therefore you have an array of { null, null, null, null, null, null, null, null, null, null}In your first test you have if (tasks[i] != null && so the rest of the if does not get evaluated.Then it gets to the...