Sunday, April 27, 2014

Array list problems
































































































































essentially my method does not like the stuff.add() (add method) even when i have written the add method:































































































































my array list is ArrayList<Runner> runners = new ArrayList<Runner>();
































































































































/**































































































































* adds new runner to list































































































































*/































































































































public boolean add(Runner Runner)































































































































{































































































































runners.add(new Runner());































































































































return true;































































































































}
































































































































comes up with, cannot find symbol - method.add(Runner)































































































































































































































































No comments:

Post a Comment