Adding numbers in an empty array in Processing 3.5.3

Then, remove the keyword final from the variable declaration: int[] arr = new int[600];

Also, some extra array tips:

1 Like