Collections not compiling
was trying to run a test from the JUnit faq, it calls for creating a collection, and it wouldn't compile, so I just did a little test file to see if I could play with it a bit, it still wouldn't compile.
here's my code:
publicclass CollectionTest{
ArrayList testCollection =new ArrayList();
}
it gives me this:
C:\java\misc_test>javac CollectionTest.java
CollectionTest.java:5: cannot find symbol
symbol :class ArrayList
location:class CollectionTest
ArrayList testCollection =new ArrayList();
^
CollectionTest.java:5: cannot find symbol
symbol :class ArrayList
location:class CollectionTest
ArrayList testCollection =new ArrayList();
^
2 errors
thanks,
bp

