Java assignment | Computer Science homework help

  

The assignment is to implement the methods “insert” and “delete” for our custom collection class Sequence which we built at the end of Lecture 2.

The insert method will take as input int index and E newElement. The method will insert the element into the data array at the specified index. It will then print the elements in the array.

The delete method will take as input int index. The method will delete the element at the specified index. It will then print the elements in the array.