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 ListInterface.java
  2. The AList.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 *