I have amended it, thank you. Unfortunately, I have a new error.
"YearData cannot be converted to City"
Now I am assuming (probably wrongly) that I have coded in such a way that I am trying to include YearData in the City object.
My work is based off the following sample code:
static final char DELIMITER=',';
And the crucial differences there that strike me are that, there is the inclusion of an iterator (the for loop) and also, that there is only one invokation of the add method, specifically:
I also note that the above code, uses 0,1,2 and then starts at 0 again for adding to the array
string which to me, suggests that we adding data to a different part of the array?