an operation for the ADT

Assignment 6 on Chapter 10 and Chapter 11Suppose that you want an operation for the ADT list that moves the first item in the list to the end of the list.The header of the method could be as follows:public voidmoveToEnd()Write an implementation of this method for the classAList.What to submit:1. The ListInterface.java2. The including the moveToEnd( ) method implementation3. The file that tests the new methods

Leave a Reply

Your email address will not be published. Required fields are marked *