ArrayList
.
An ArrayList
internally maintains an array of data that is resized to accomodate additional elements.
ArrayList
also allows the programmer to add/remove items at arbitrary indices and even find the index of a particular item.
Complete the implementation of Animal.java, by adding the following methods: p>