The main problem was you were not actually returning the new value and you weren't updating the input variable to the "new" value anyway, which meant the initial illegal value was used for the for...
Type: Posts; User: I MIKE C I
The main problem was you were not actually returning the new value and you weren't updating the input variable to the "new" value anyway, which meant the initial illegal value was used for the for...
The problem is you have declared all your variables outside the methods (this is good as it means all the methods can access them) however inside the "set" methods eg. setPics you are declaring the...