Collection
is dynamically resizable
both interfaces and classes
allows items to be inserted after creation
capacity
myStrings.remove("onion");
numbers.get(9);
you are not required to create either a toString() method or a compareTo() method
Collections.sort()
Scanner
write your own compareTo() method
Its return type must be boolean.
stu2.compareTo(stu1)
The ArrayList class works better than a LinkedList when you have to sequentially retrieve a lot of data.
Iterator
type parameter
uses at least one type parameter
must have a type parameter that represents a reference type