March 25
Examples from March 25
Today we started talking about Java's Collection classes. Here is a simple example:
SimpleArrayList.java and SimpleInput.java This reads a list of integers from the keyboard;the list is terminated by 0. The program then prints the list. Note the use of the Integer wrapper class.