| |
static ArrayList directions = new ArrayList(24); directions.set(0, "N"); directions.set(1, "NORTH"); ... ...
For some reason, when I try to compile a program with this code in it, I get an error that says <identifier> expected for each of the lines directions.set(0,etc.);. Why does this happen, and what can I do to fix it?
|