Find a method of ArrayList that is not in the List interface,
specifically a method that trims the internal array down to fit
exactly. A Google search for this did work, but the JDK API of
course is the definitive source.
Give the method header for the method.
Add a call to this method to TestArrayList.java (which is
available online in TestArrayList.zip), and see that it compiles
and runs fine. Now change the line creating the ArrayList to use
type...