Create a class to implement the ArrayList collection. The name should be YourFirstNameArrayList; for example if I were creating the class then I would call it WaynesArrayList. Don’t implement all the ArrayList methods, only the following: add(element), add(index, element), get(index), set(index, element), remove(index), size( ) and toString( ). You don’t need to bother with throwing exceptions, but you do need to implement the ArrayList feature that it will expand to accommodate more data when it is full.
Also write a driver program to thoroughly test your class. We will discuss in class what thorough testing should consist of.