18 September 2004 - java_dev (original) (raw)
Java developers
September 18th, 2004
| | 01:24 pm - kalo_khei 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 expected for each of the lines directions.set(0,etc.);. Why does this happen, and what can I do to fix it? |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
09:55 pm - |
---|