Hello, I just needed to ask for somebody to take a look at a really small piece of code for me please. I'm compiling
Java on the command line in Windows for the first time, and I'm getting a "Cannot find symbol" error for each ArrayList.Count and ArrayList.getElementAt() (the name of the ArrayList is m_items). Here is my code:
I mean, I've imported the necessary package(s) for this to work. I'm running javac from the project's root directory, which has worked with the other classes in there, and I'm telling it javac com\zork\inventory\Inventory.java. Again using javac like that in that directory has worked just fine for other classes in there, so what could I be missing? Thanks!