Take out a piece of paper. We’ll be programming on paper.
Write a reallocate method for the DynamicArrayOfStrings class that increases the size of the instance variable holding the Strings.
This method must copy the values from the old array to the new array.
Write the
boolean add(String s);
method.