Write an implementation of this method

Suppose 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 classLList.

What to submit:

  1. The ListInterface.java
  2. The LList.java including the moveToEnd( ) method implementation
  3. The Driver.java file that tests the new method

Leave a Reply

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