I am trying to obtain something from an array and when I compile it tells me "cannot find symbol. "
public int numberOfAccesses() { int total = 0; int index = 0; hourCounts.getInt(hourCounts, 24); ....... hourCounts = new int[24]; //this is how it is declared in the instance field.
I'm not sure what I am doing wrong, any help would greatly appreciated, thanks.