Have you checked the Java tutorial on collections?

http://java.sun.com/docs/books/tutor...ons/index.html


Coding in eclipse (free) can help catch syntax errors (it underlines them in red as you type, just like word )

http://www.eclipse.org/