Assignment 6 on Chapter 10

Assignment 6 on Chapter 10 and Chapter 11

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 void moveToEnd()

Write an implementation of this method for the class AList.

What to submit:

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

Leave a Reply

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